Class SchemaObjectDefinition
java.lang.Object
org.springframework.data.gemfire.config.schema.SchemaObjectDefinition
- All Implemented Interfaces:
Serializable,Ordered
- Direct Known Subclasses:
IndexDefinition,RegionDefinition
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).- Since:
- 2.0.0
- Author:
- John Blum
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionSchemaObjectDefinition(String name) Constructs a new instance ofSchemaObjectDefinitioninitialized with the specifiedname. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(GemfireAdminOperations gemfireAdminOperations) Creates an actual schema object from thisSchemaObjectDefinition.booleangetName()Returns thenameassigned to the schema object.abstract SchemaObjectTypegetType()Returns thetypeof schema object defined by thisSchemaObjectDefinition.inthashCode()toString()
-
Constructor Details
-
SchemaObjectDefinition
Constructs a new instance ofSchemaObjectDefinitioninitialized with the specifiedname.- Parameters:
name-namegiven to the GemFire/Geode schema object; must not be null.- Throws:
IllegalArgumentException- if name is not specified.
-
-
Method Details
-
getName
Returns thenameassigned to the schema object.- Returns:
- the
nameassigned to the schema object; name is never null.
-
getType
Returns thetypeof schema object defined by thisSchemaObjectDefinition.- Returns:
- the
typeof schema object defined by thisSchemaObjectDefinition. - See Also:
-
create
Creates an actual schema object from thisSchemaObjectDefinition.- Parameters:
gemfireAdminOperations-GemfireAdminOperationsused to create an actual schema object from thisSchemaObjectDefinition.- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-