public interface RegistryStorageFacade
Modifier and Type | Method and Description |
---|---|
long |
deleteSchema(String subject,
String version) |
SortedSet<Long> |
deleteSubject(String subject) |
Schema |
findSchemaWithSubject(String subject,
boolean checkDeletedSchema,
String schema) |
String |
getSchema(Integer id) |
Schema |
getSchema(String subject,
String version) |
Set<String> |
listSubjects() |
List<Integer> |
listVersions(String subject) |
CompletionStage<Long> |
registerSchema(String subject,
Integer id,
Integer version,
String schema) |
SortedSet<Long> deleteSubject(String subject) throws ArtifactNotFoundException, RegistryStorageException
String getSchema(Integer id) throws ArtifactNotFoundException, RegistryStorageException
Schema getSchema(String subject, String version) throws ArtifactNotFoundException, VersionNotFoundException, RegistryStorageException
List<Integer> listVersions(String subject) throws ArtifactNotFoundException, RegistryStorageException
Schema findSchemaWithSubject(String subject, boolean checkDeletedSchema, String schema) throws ArtifactNotFoundException, RegistryStorageException
CompletionStage<Long> registerSchema(String subject, Integer id, Integer version, String schema) throws ArtifactAlreadyExistsException, ArtifactNotFoundException, RegistryStorageException
ArtifactAlreadyExistsException
ArtifactNotFoundException
RegistryStorageException
long deleteSchema(String subject, String version) throws ArtifactNotFoundException, VersionNotFoundException, RegistryStorageException
ArtifactNotFoundException
VersionNotFoundException
RegistryStorageException
Copyright © 2019 Red Hat. All rights reserved.