Interface SchemaOperations
- All Known Implementing Classes:
DefaultSchemaOperations
public interface SchemaOperations
Operations interface for executing modification on a managed schema.
- Since:
- 2.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd givenSchemaDefinition.SchemaField.Get the current schema name.Get the current schema version.Read back theSchemaDefinitionfrom server.voidremoveField(String name) Remove the field with given name.
-
Method Details
-
getSchemaName
String getSchemaName()Get the current schema name.- Returns:
-
getSchemaVersion
Double getSchemaVersion()Get the current schema version.- Returns:
-
readSchema
SchemaDefinition readSchema()Read back theSchemaDefinitionfrom server.- Returns:
-
addField
Add givenSchemaDefinition.SchemaField.- Parameters:
field- must not be null.- Throws:
SchemaModificationException
-
removeField
Remove the field with given name.- Parameters:
name- must not be null.
-