Enum FDBRecordStoreKeyspace
- java.lang.Object
-
- java.lang.Enum<FDBRecordStoreKeyspace>
-
- com.apple.foundationdb.record.provider.foundationdb.FDBRecordStoreKeyspace
-
- All Implemented Interfaces:
Serializable
,Comparable<FDBRecordStoreKeyspace>
@API(STABLE) public enum FDBRecordStoreKeyspace extends Enum<FDBRecordStoreKeyspace>
Unique integers used as the first tuple item within a record store's subspace.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDEX
INDEX_BUILD_SPACE
INDEX_RANGE_SPACE
INDEX_SECONDARY_SPACE
INDEX_STATE_SPACE
INDEX_UNIQUENESS_VIOLATIONS_SPACE
RECORD
RECORD_COUNT
RECORD_VERSION_SPACE
STORE_INFO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FDBRecordStoreKeyspace
fromKey(Object key)
long
id()
Object
key()
static FDBRecordStoreKeyspace
valueOf(String name)
Returns the enum constant of this type with the specified name.static FDBRecordStoreKeyspace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORE_INFO
public static final FDBRecordStoreKeyspace STORE_INFO
-
RECORD
public static final FDBRecordStoreKeyspace RECORD
-
INDEX
public static final FDBRecordStoreKeyspace INDEX
-
INDEX_SECONDARY_SPACE
public static final FDBRecordStoreKeyspace INDEX_SECONDARY_SPACE
-
RECORD_COUNT
public static final FDBRecordStoreKeyspace RECORD_COUNT
-
INDEX_STATE_SPACE
public static final FDBRecordStoreKeyspace INDEX_STATE_SPACE
-
INDEX_RANGE_SPACE
public static final FDBRecordStoreKeyspace INDEX_RANGE_SPACE
-
INDEX_UNIQUENESS_VIOLATIONS_SPACE
public static final FDBRecordStoreKeyspace INDEX_UNIQUENESS_VIOLATIONS_SPACE
-
RECORD_VERSION_SPACE
public static final FDBRecordStoreKeyspace RECORD_VERSION_SPACE
-
INDEX_BUILD_SPACE
public static final FDBRecordStoreKeyspace INDEX_BUILD_SPACE
-
-
Method Detail
-
values
public static FDBRecordStoreKeyspace[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FDBRecordStoreKeyspace c : FDBRecordStoreKeyspace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FDBRecordStoreKeyspace 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 nameNullPointerException
- if the argument is null
-
id
public long id()
-
fromKey
public static FDBRecordStoreKeyspace fromKey(Object key)
-
-