Spring Data for VMware GemFire
Enum Class SchemaObjectType
- All Implemented Interfaces:
Serializable,Comparable<SchemaObjectType>,Constable
SchemaObjectType defines an enumeration of all the types of Apache Geode or Pivotal GemFire schema objects
(e.g. Region) that may possibly be handled by Spring Data Geode / Spring Data GemFire
and that can be created remotely, from a client application.- Since:
- 2.0.0
- See Also:
-
AsyncEventQueueCacheDiskStoreRegionClientCachePoolFunctionLuceneIndexIndexGatewayReceiverGatewaySenderSchemaObjectDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaObjectTypeNull-safe factory method used to look up and resolve the correspondingSchemaObjectTypegiven the type of GemFire schema object.static SchemaObjectTypeNull-safe factory method used to look up and resolve the correspondingSchemaObjectTypegiven an instance of a GemFire schema object.Class<?>Returns theclass typeof the GemFire schema object represented by this enumerated value.static SchemaObjectTypeReturns the enum constant of this class with the specified name.static SchemaObjectType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASYNC_EVENT_QUEUE
-
CACHE
-
CLIENT_CACHE
-
DISK_STORE
-
FUNCTION
-
GATEWAY_RECEIVER
-
GATEWAY_SENDER
-
INDEX
-
LUCENE_INDEX
-
POOL
-
REGION
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
from
Null-safe factory method used to look up and resolve the correspondingSchemaObjectTypegiven an instance of a GemFire schema object. For example, given an instance ofRegion, this factory method will returnREGION.- Parameters:
obj- actual instance of a GemFire schema object, e.g. reference to aRegion.- Returns:
- a corresponding
SchemaObjectTypefor a given instance of a GemFire schema object. If the type cannot be determined, thenUNKNOWNis returned. - See Also:
-
from
Null-safe factory method used to look up and resolve the correspondingSchemaObjectTypegiven the type of GemFire schema object. For example, given theRegioninterfaceor anysub-typeofRegion, this factory method will returnREGION.- Parameters:
type-typeof the GemFire schema object, e.g. theRegioninterface.- Returns:
- a corresponding
SchemaObjectTypefor a giventypeof a GemFire schema object. If the type cannot be determined, thenUNKNOWNis returned. - See Also:
-
getObjectType
Returns theclass typeof the GemFire schema object represented by this enumerated value.- Returns:
- the
class typeof the GemFire schema object represented by this enumerated value. - See Also:
-