GigaSpaces XAP 7.0 API

com.gigaspaces.annotation.pojo
Enum SpaceProperty.IndexType

java.lang.Object
  extended by java.lang.Enum<SpaceProperty.IndexType>
      extended by com.gigaspaces.annotation.pojo.SpaceProperty.IndexType
All Implemented Interfaces:
Serializable, Comparable<SpaceProperty.IndexType>
Enclosing class:
SpaceProperty

public static enum SpaceProperty.IndexType
extends Enum<SpaceProperty.IndexType>

Determines the index type for a specified property.


Enum Constant Summary
BASIC
          Indicates basic index should be used.
EXTENDED
          Indicates extended index should be used.
NONE
          Indicates no index should be used.
NOT_SET
          Indicates no index type was set, and default will be used.
 
Method Summary
 boolean isIndexed()
          Returns true if any index other than NONE is set, false otherwise.
static SpaceProperty.IndexType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpaceProperty.IndexType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_SET

public static final SpaceProperty.IndexType NOT_SET
Indicates no index type was set, and default will be used.


NONE

public static final SpaceProperty.IndexType NONE
Indicates no index should be used.


BASIC

public static final SpaceProperty.IndexType BASIC
Indicates basic index should be used. This index supports equality.


EXTENDED

public static final SpaceProperty.IndexType EXTENDED
Indicates extended index should be used. This index supports comparison.

Method Detail

values

public static final SpaceProperty.IndexType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SpaceProperty.IndexType c : SpaceProperty.IndexType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SpaceProperty.IndexType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name

isIndexed

public boolean isIndexed()
Returns true if any index other than NONE is set, false otherwise.

Returns:

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.