Package org.apache.accumulo.core.data
Enum PartialKey
- All Implemented Interfaces:
Serializable
,Comparable<PartialKey>
Specifications for part of a
Key
.-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic PartialKey
getByDepth
(int depth) Deprecated.since 1.7.0int
getDepth()
Gets the depth of this partial key.static PartialKey
Returns the enum constant of this type with the specified name.static PartialKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROW
-
ROW_COLFAM
-
ROW_COLFAM_COLQUAL
-
ROW_COLFAM_COLQUAL_COLVIS
-
ROW_COLFAM_COLQUAL_COLVIS_TIME
-
ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getByDepth
Deprecated.since 1.7.0Get a partial key specification by depth of the specification.- Parameters:
depth
- depth of scope (i.e., number of fields included)- Returns:
- partial key
- Throws:
IllegalArgumentException
- if no partial key has the given depth
-
getDepth
public int getDepth()Gets the depth of this partial key.- Returns:
- depth
-