public abstract class SchemaObjectDefinition extends Object implements Serializable, Ordered
SchemaObjectDefinition
is an Abstract Data Type (ADT) encapsulating the definition of a single Apache Geode
or Pivotal GemFire schema object (e.g. Region
or Index
).Serializable
,
Ordered
,
SchemaObjectDefiner
,
SchemaObjectType
,
Serialized FormHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SchemaObjectDefinition(String name)
Constructs a new instance of
SchemaObjectDefinition initialized with the specified name . |
Modifier and Type | Method and Description |
---|---|
void |
create(GemfireAdminOperations gemfireAdminOperations)
Creates an actual schema object from this
SchemaObjectDefinition . |
boolean |
equals(Object obj) |
String |
getName()
Returns the
name assigned to the schema object. |
abstract SchemaObjectType |
getType()
Returns the
type of schema object defined by this SchemaObjectDefinition . |
int |
hashCode() |
String |
toString() |
public SchemaObjectDefinition(String name)
SchemaObjectDefinition
initialized with the specified name
.name
- name
given to the GemFire/Geode schema object; must not be null.IllegalArgumentException
- if name is not specified.public String getName()
name
assigned to the schema object.name
assigned to the schema object; name is never null.public abstract SchemaObjectType getType()
type
of schema object defined by this SchemaObjectDefinition
.type
of schema object defined by this SchemaObjectDefinition
.SchemaObjectType
public void create(GemfireAdminOperations gemfireAdminOperations)
SchemaObjectDefinition
.gemfireAdminOperations
- GemfireAdminOperations
used to create an actual schema object from this
SchemaObjectDefinition
.GemfireAdminOperations
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.