QueryService
for changes.
Enumerated type for types of indexes@Deprecated public enum IndexType extends Enum<IndexType>
Enum Constant and Description |
---|
FUNCTIONAL
Deprecated.
The index type of a functional index.
|
HASH
Deprecated.
Due to the overhead caused by rehashing while expanding the backing array, hash
index has been deprecated since Apache Geode 1.4.0. Use
FUNCTIONAL instead. |
PRIMARY_KEY
Deprecated.
The index type of a primary key index.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
|
static IndexType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static IndexType |
valueOfSynonym(String name)
Deprecated.
|
static IndexType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType FUNCTIONAL
The indexedExpression for a functional index can be any Comparable or any of the following
primitive types:
long int short byte char float double
@Deprecated public static final IndexType HASH
FUNCTIONAL
instead.
The indexedExpression for a hash index can be any Comparable or any of the following primitive
types:
long int short byte char float double
public static final IndexType PRIMARY_KEY
The type of the indexedExpression for a primary key index can be any object type. Just as in a
Region, the lookup is based on the implementation of the equals
and
hashCode
methods in the object.
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 String getName()