Modifier and Type | Method and Description |
---|---|
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
Returns all the artifacts who's 'whenGathered' attribute value is inside the given time range (inclusive) as stream of objects.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
protected static Comparator<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactMetadataComparator(QueryParameter queryParameter,
String defaultAttr) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
Searches for artifacts where the 'whenGathered' attribute value is between the given start and end time.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter)
Returns a stream of artifacts that are stored in the given repository.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter)
Returns a stream of artifacts found for the given artifact coordinates and using the
queryParameter |
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter) |
<T extends MetadataFacet> |
MetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter)
Returns a stream of MetadataFacet elements that match the given facet class.
|
<T extends MetadataFacet> |
AbstractMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter) |
Modifier and Type | Method and Description |
---|---|
Stream<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
For documentation see
MetadataRepository.getArtifactByDateRangeStream(RepositorySession, String, ZonedDateTime, ZonedDateTime, QueryParameter)
This implementation orders the stream. |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter) |
<T extends MetadataFacet> |
CassandraMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter)
Implementation is not very performant, because sorting is part of the stream.
|
Modifier and Type | Method and Description |
---|---|
Stream<ArtifactMetadata> |
FileMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
Result is sorted by date,
|
Stream<ArtifactMetadata> |
FileMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
<T extends MetadataFacet> |
FileMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.