public interface SchemaOperations
Modifier and Type | Method and Description |
---|---|
void |
addField(SchemaDefinition.SchemaField field)
Add given
SchemaDefinition.SchemaField . |
String |
getSchemaName()
Get the current schema name.
|
Double |
getSchemaVersion()
Get the current schema version.
|
SchemaDefinition |
readSchema()
Read back the
SchemaDefinition from server. |
void |
removeField(String name)
Remove the field with given name.
|
String getSchemaName()
Double getSchemaVersion()
SchemaDefinition readSchema()
SchemaDefinition
from server.void addField(SchemaDefinition.SchemaField field)
SchemaDefinition.SchemaField
.field
- must not be null.SchemaModificationException
void removeField(String name)
name
- must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.