public enum SchemaObjectType extends Enum<SchemaObjectType>
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 SDG and that can be created remotely,
from a client application.AsyncEventQueue,
Cache,
DiskStore,
Region,
ClientCache,
Pool,
Function,
LuceneIndex,
Index,
GatewayReceiver,
GatewaySender,
SchemaObjectDefinition| Enum Constant and Description |
|---|
ASYNC_EVENT_QUEUE |
CACHE |
CLIENT_CACHE |
DISK_STORE |
FUNCTION |
GATEWAY_RECEIVER |
GATEWAY_SENDER |
INDEX |
LUCENE_INDEX |
POOL |
REGION |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static SchemaObjectType |
from(Class<?> type)
Null-safe factory method used to look up and resolve the corresponding
SchemaObjectType
given the type of Pivotal GemFire schema object. |
static SchemaObjectType |
from(Object obj)
Null-safe factory method used to look up and resolve the corresponding
SchemaObjectType
given an instance of a Pivotal GemFire schema object. |
Class<?> |
getObjectType()
Returns the
class type of the Pivotal GemFire schema object represented by this enumerated value. |
static SchemaObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaObjectType ASYNC_EVENT_QUEUE
public static final SchemaObjectType CACHE
public static final SchemaObjectType CLIENT_CACHE
public static final SchemaObjectType DISK_STORE
public static final SchemaObjectType FUNCTION
public static final SchemaObjectType GATEWAY_RECEIVER
public static final SchemaObjectType GATEWAY_SENDER
public static final SchemaObjectType INDEX
public static final SchemaObjectType LUCENE_INDEX
public static final SchemaObjectType POOL
public static final SchemaObjectType REGION
public static final SchemaObjectType UNKNOWN
public static SchemaObjectType[] values()
for (SchemaObjectType c : SchemaObjectType.values()) System.out.println(c);
public static SchemaObjectType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SchemaObjectType from(Object obj)
SchemaObjectType
given an instance of a Pivotal GemFire schema object.
For example, given an instance of Region, this factory method will return
REGION.obj - actual instance of a Pivotal GemFire schema object, e.g. reference to a Region.SchemaObjectType for a given instance of a Pivotal GemFire schema object.
If the type cannot be determined, then UNKNOWN is returned.from(Class)public static SchemaObjectType from(Class<?> type)
SchemaObjectType
given the type of Pivotal GemFire schema object.
For example, given the Region interface or any sub-type of Region,
this factory method will return REGION.type - type of the Pivotal GemFire schema object, e.g. the Region interface.SchemaObjectType for a given type of a Pivotal GemFire schema object.
If the type cannot be determined, then UNKNOWN is returned.from(Object)public Class<?> getObjectType()
class type of the Pivotal GemFire schema object represented by this enumerated value.class type of the Pivotal GemFire schema object represented by this enumerated value.ClassCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.