Modifier and Type | Method and Description |
---|---|
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime)
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) |
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.getArtifacts(RepositorySession session,
String repositoryId)
Returns the metadata for all artifacts of the given repository.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Returns the metadata of all artifacts stored for the given project version.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId)
Get artifacts with an artifact metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum)
Returns the artifacts that match the given checksum.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime)
Is the same as
MetadataRepository.getArtifactsByDateRange(RepositorySession, String, ZonedDateTime, ZonedDateTime, QueryParameter) , but
uses default query parameters. |
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repoId,
ZonedDateTime startTime,
ZonedDateTime endTime) |
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) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId)
Get artifacts with a attribute on project version level that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId)
Get artifacts with a project version metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId)
Returns a stream of all the artifacts in the given repository using default query parameter.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId) |
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)
Returns a stream of artifacts found for the given artifact coordinates.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
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) |
Collection<ArtifactMetadata> |
MetadataResolver.resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<ArtifactMetadata> |
DefaultMetadataResolver.resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact)
Full text artifacts search.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact)
Full text artifacts search inside the specified key.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion)
Remove timestamped version of artifact.
|
void |
AbstractMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
MetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta)
Update the metadata of a given artifact.
|
void |
AbstractMetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
Modifier and Type | Method and Description |
---|---|
protected ArtifactMetadata |
CassandraMetadataRepository.mapArtifactMetadataLongColumnSlice(String key,
me.prettyprint.hector.api.beans.ColumnSlice<String,Long> columnSlice) |
protected ArtifactMetadata |
CassandraMetadataRepository.mapArtifactMetadataStringColumnSlice(String key,
me.prettyprint.hector.api.beans.ColumnSlice<String,String> columnSlice) |
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.getArtifacts(RepositorySession session,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId)
Project version and artifact level metadata are stored in the same place, no distinctions in Cassandra
implementation, just calls
MetadataRepository.getArtifactsByAttribute(RepositorySession, String, String, String) |
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) |
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact)
This implementation just calls getArtifactsByAttribute( null, text, repositoryId ).
|
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact)
The exact parameter is ignored as we can't do non exact searches in Cassandra
|
Modifier and Type | Method and Description |
---|---|
void |
CassandraMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
CassandraMetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespaceId,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
Modifier and Type | Method and Description |
---|---|
void |
FileMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
FileMetadataRepository.updateArtifact(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifact) |
Modifier and Type | Method and Description |
---|---|
Stream<ArtifactMetadata> |
JcrMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repoId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId) |
Stream<ArtifactMetadata> |
JcrMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
JcrMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
JcrMetadataRepository.runJcrQuery(javax.jcr.Session jcrSession,
String repositoryId,
String q,
Map<String,String> bindingParam) |
List<ArtifactMetadata> |
JcrMetadataRepository.runJcrQuery(javax.jcr.Session jcrSession,
String repositoryId,
String qParam,
Map<String,String> bindingParam,
boolean checkPath) |
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact)
Exact is ignored as we can't do exact search in any property, we need a key
|
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
void |
JcrMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
JcrMetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
Modifier and Type | Method and Description |
---|---|
ArtifactMetadata |
RepositoryPathTranslator.getArtifactForPath(String repoId,
String relativePath) |
ArtifactMetadata |
RepositoryPathTranslator.getArtifactFromId(String repoId,
String namespace,
String projectId,
String projectVersion,
String id) |
ArtifactMetadata |
RepositoryStorage.readArtifactMetadataFromPath(String repoId,
String path) |
Modifier and Type | Method and Description |
---|---|
Collection<ArtifactMetadata> |
RepositoryStorage.readArtifactsMetadata(ReadMetadataRequest readMetadataRequest) |
Modifier and Type | Method and Description |
---|---|
ArtifactMetadata |
Maven2RepositoryPathTranslator.getArtifactForPath(String repoId,
String relativePath) |
ArtifactMetadata |
Maven2RepositoryPathTranslator.getArtifactFromId(String repoId,
String namespace,
String projectId,
String projectVersion,
String id) |
ArtifactMetadata |
Maven2RepositoryStorage.readArtifactMetadataFromPath(String repoId,
String path) |
Modifier and Type | Method and Description |
---|---|
Collection<ArtifactMetadata> |
Maven2RepositoryStorage.readArtifactsMetadata(ReadMetadataRequest readMetadataRequest) |
Modifier and Type | Method and Description |
---|---|
int |
ArtifactMetadataVersionComparator.compare(ArtifactMetadata o1,
ArtifactMetadata o2) |
Modifier and Type | Method and Description |
---|---|
protected List<Artifact> |
AbstractRestService.buildArtifacts(Collection<ArtifactMetadata> artifactMetadatas,
String repositoryId) |
Modifier and Type | Method and Description |
---|---|
ArtifactBuilder |
ArtifactBuilder.forArtifactMetadata(ArtifactMetadata artifactMetadata) |
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
Maven2RepositoryMerger.getConflictingArtifacts(MetadataRepository metadataRepository,
String sourceRepo,
String targetRepo) |
List<ArtifactMetadata> |
RepositoryMerger.getConflictingArtifacts(MetadataRepository metadataRepository,
String sourceRepo,
String targetRepo) |
Modifier and Type | Method and Description |
---|---|
void |
Maven2RepositoryMerger.merge(MetadataRepository metadataRepository,
String sourceRepoId,
String targetRepoId,
Filter<ArtifactMetadata> filter) |
void |
RepositoryMerger.merge(MetadataRepository metadataRepository,
String sourceRepoId,
String targetRepoId,
Filter<ArtifactMetadata> filter) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.