public enum ObjectType extends Enum<ObjectType>
Enum Constant and Description |
---|
DOCUMENT |
ENTRY |
ENTRY_PACKET |
ENTRY_SNAPSHOT |
EXTERNAL_ENTRY |
ID_QUERY |
IDS_QUERY |
METADATA_ENTRY |
NULL |
POJO |
SPACE_TASK |
SQL |
TEMPLATE_PACKET |
Modifier and Type | Method and Description |
---|---|
static ObjectType |
fromObject(Object object) |
static ObjectType |
fromObject(Object object,
boolean supportIdsQuery) |
boolean |
isConcrete() |
static ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectType NULL
public static final ObjectType POJO
public static final ObjectType ENTRY
public static final ObjectType METADATA_ENTRY
public static final ObjectType EXTERNAL_ENTRY
public static final ObjectType DOCUMENT
public static final ObjectType SQL
public static final ObjectType ENTRY_SNAPSHOT
public static final ObjectType ENTRY_PACKET
public static final ObjectType TEMPLATE_PACKET
public static final ObjectType SPACE_TASK
public static final ObjectType ID_QUERY
public static final ObjectType IDS_QUERY
public static ObjectType[] values()
for (ObjectType c : ObjectType.values()) System.out.println(c);
public static ObjectType 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 ObjectType fromObject(Object object)
public static ObjectType fromObject(Object object, boolean supportIdsQuery)
public boolean isConcrete()
Copyright © GigaSpaces.