Package | Description |
---|---|
io.apicurio.registry.ccompat.store | |
io.apicurio.registry.storage | |
io.apicurio.registry.storage.impl |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Long> |
RegistryStorageFacadeImpl.createSchema(String subject,
String schema,
String schemaType) |
CompletionStage<Long> |
RegistryStorageFacade.createSchema(String subject,
String schema,
String schemaType)
Create a new schema in the given subject.
|
int |
RegistryStorageFacadeImpl.deleteSchema(String subject,
String versionString) |
int |
RegistryStorageFacade.deleteSchema(String subject,
String version) |
List<Integer> |
RegistryStorageFacadeImpl.deleteSubject(String subject) |
List<Integer> |
RegistryStorageFacade.deleteSubject(String subject) |
Schema |
RegistryStorageFacadeImpl.getSchema(String subject,
SchemaContent schema) |
Schema |
RegistryStorageFacade.getSchema(String subject,
SchemaContent schema) |
Schema |
RegistryStorageFacadeImpl.getSchema(String subject,
String versionString) |
Schema |
RegistryStorageFacade.getSchema(String subject,
String version) |
SchemaContent |
RegistryStorageFacadeImpl.getSchemaContent(int globalId) |
SchemaContent |
RegistryStorageFacade.getSchemaContent(int globalId) |
List<Integer> |
RegistryStorageFacadeImpl.getVersions(String subject) |
List<Integer> |
RegistryStorageFacade.getVersions(String subject) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content)
Creates a new artifact (from the given value) in the storage.
|
default void |
RegistryStorage.createArtifactRule(String artifactId,
RuleType rule,
RuleConfigurationDto config)
Creates an artifact rule for a specific Artifact.
|
CompletionStage<Void> |
RegistryStorage.createArtifactRuleAsync(String artifactId,
RuleType rule,
RuleConfigurationDto config) |
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.createArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metaData)
Creates a new artifact (from the given value including metadata) in the storage.
|
void |
RegistryStorage.createGlobalRule(RuleType rule,
RuleConfigurationDto config)
Creates a single global rule.
|
SortedSet<Long> |
RegistryStorage.deleteArtifact(String artifactId)
Deletes an artifact by its unique id.
|
void |
RegistryStorage.deleteArtifactRule(String artifactId,
RuleType rule)
Deletes a single stored/configured rule for a given artifact.
|
void |
RegistryStorage.deleteArtifactRules(String artifactId)
Deletes all rules stored/configured for the artifact.
|
void |
RegistryStorage.deleteArtifactVersion(String artifactId,
long version)
Deletes a single version of a given artifact.
|
void |
RegistryStorage.deleteArtifactVersionMetaData(String artifactId,
long version)
Deletes the user-editable meta-data for a singel version of a given artifact.
|
void |
RegistryStorage.deleteGlobalRule(RuleType rule)
Deletes a single global rule.
|
void |
RegistryStorage.deleteGlobalRules()
Deletes all of the globally configured rules.
|
StoredArtifact |
RegistryStorage.getArtifact(String artifactId)
Gets the most recent version of the value of the artifact with the given ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(long id)
Gets the stored meta-data for an artifact by global ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId)
Gets the stored meta-data for an artifact by ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content)
Gets the metadata of the version that matches content, or 404
|
RuleConfigurationDto |
RegistryStorage.getArtifactRule(String artifactId,
RuleType rule)
Gets all of the information for a single rule configured on a given artifact.
|
List<RuleType> |
RegistryStorage.getArtifactRules(String artifactId)
Gets a list of rules configured for a specific Artifact (by ID).
|
StoredArtifact |
RegistryStorage.getArtifactVersion(long id)
Gets the most recent version of the content of the artifact with the given global ID.
|
StoredArtifact |
RegistryStorage.getArtifactVersion(String artifactId,
long version)
Gets the stored value for a single version of a given artifact.
|
ArtifactVersionMetaDataDto |
RegistryStorage.getArtifactVersionMetaData(String artifactId,
long version)
Gets the stored meta-data for a single version of an artifact.
|
SortedSet<Long> |
RegistryStorage.getArtifactVersions(String artifactId)
Gets a sorted set of all artifact versions that exist for a given artifact.
|
RuleConfigurationDto |
RegistryStorage.getGlobalRule(RuleType rule)
Gets all information about a single global rule.
|
List<RuleType> |
RegistryStorage.getGlobalRules()
Gets a list of all global rule names.
|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content)
Updates the artifact value by storing the given value as a new version of the artifact.
|
void |
RegistryStorage.updateArtifactMetaData(String artifactId,
EditableArtifactMetaDataDto metaData)
Updates the stored meta-data for an artifact by ID.
|
void |
RegistryStorage.updateArtifactRule(String artifactId,
RuleType rule,
RuleConfigurationDto config)
Updates the configuration information for a single rule on a given artifact.
|
void |
RegistryStorage.updateArtifactVersionMetaData(String artifactId,
long version,
EditableArtifactMetaDataDto metaData)
Updates the user-editable meta-data for a single version of a given artifact.
|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.updateArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metaData)
Updates the artifact value by storing the given value and metadata as a new version of the artifact.
|
void |
RegistryStorage.updateGlobalRule(RuleType rule,
RuleConfigurationDto config)
Updates the configuration settings for a single global rule.
|
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
void |
AbstractRegistryStorage.createArtifactRule(String artifactId,
RuleType rule,
RuleConfigurationDto config) |
CompletionStage<Void> |
AbstractMapRegistryStorage.createArtifactRuleAsync(String artifactId,
RuleType rule,
RuleConfigurationDto config) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.createArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metadata) |
void |
AbstractMapRegistryStorage.createGlobalRule(RuleType rule,
RuleConfigurationDto config) |
protected ArtifactMetaDataDto |
AbstractMapRegistryStorage.createOrUpdateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content,
boolean create,
long globalId) |
SortedSet<Long> |
AbstractMapRegistryStorage.deleteArtifact(String artifactId) |
void |
AbstractMapRegistryStorage.deleteArtifactRule(String artifactId,
RuleType rule) |
void |
AbstractMapRegistryStorage.deleteArtifactRules(String artifactId) |
protected void |
AbstractMapRegistryStorage.deleteArtifactRulesInternal(String artifactId)
Internal delete of artifact rules without checking for existence of artifact first.
|
void |
AbstractMapRegistryStorage.deleteArtifactVersion(String artifactId,
long version) |
void |
AbstractMapRegistryStorage.deleteArtifactVersionMetaData(String artifactId,
long version) |
void |
AbstractMapRegistryStorage.deleteGlobalRule(RuleType rule) |
void |
AbstractMapRegistryStorage.deleteGlobalRules() |
StoredArtifact |
AbstractMapRegistryStorage.getArtifact(String artifactId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(long id) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content) |
RuleConfigurationDto |
AbstractMapRegistryStorage.getArtifactRule(String artifactId,
RuleType rule) |
List<RuleType> |
AbstractMapRegistryStorage.getArtifactRules(String artifactId) |
StoredArtifact |
AbstractMapRegistryStorage.getArtifactVersion(long id) |
StoredArtifact |
AbstractMapRegistryStorage.getArtifactVersion(String artifactId,
long version) |
ArtifactVersionMetaDataDto |
AbstractMapRegistryStorage.getArtifactVersionMetaData(String artifactId,
long version) |
SortedSet<Long> |
AbstractMapRegistryStorage.getArtifactVersions(String artifactId) |
RuleConfigurationDto |
AbstractMapRegistryStorage.getGlobalRule(RuleType rule) |
List<RuleType> |
AbstractMapRegistryStorage.getGlobalRules() |
VersionSearchResults |
AbstractMapRegistryStorage.searchVersions(String artifactId,
int offset,
int limit) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
void |
AbstractMapRegistryStorage.updateArtifactMetaData(String artifactId,
EditableArtifactMetaDataDto metaData) |
void |
AbstractMapRegistryStorage.updateArtifactRule(String artifactId,
RuleType rule,
RuleConfigurationDto config) |
void |
AbstractMapRegistryStorage.updateArtifactVersionMetaData(String artifactId,
long version,
EditableArtifactMetaDataDto metaData) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.updateArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metadata) |
void |
AbstractMapRegistryStorage.updateGlobalRule(RuleType rule,
RuleConfigurationDto config) |
Copyright © 2020 Red Hat. All rights reserved.