Package org.apache.accumulo.core.data
Enum PartialKey
- java.lang.Object
-
- java.lang.Enum<PartialKey>
-
- org.apache.accumulo.core.data.PartialKey
-
- All Implemented Interfaces:
Serializable
,Comparable<PartialKey>
public enum PartialKey extends Enum<PartialKey>
Specifications for part of aKey
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ROW
ROW_COLFAM
ROW_COLFAM_COLQUAL
ROW_COLFAM_COLQUAL_COLVIS
ROW_COLFAM_COLQUAL_COLVIS_TIME
ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDepth()
Gets the depth of this partial key.static PartialKey
valueOf(String name)
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 Detail
-
ROW
public static final PartialKey ROW
-
ROW_COLFAM
public static final PartialKey ROW_COLFAM
-
ROW_COLFAM_COLQUAL
public static final PartialKey ROW_COLFAM_COLQUAL
-
ROW_COLFAM_COLQUAL_COLVIS
public static final PartialKey ROW_COLFAM_COLQUAL_COLVIS
-
ROW_COLFAM_COLQUAL_COLVIS_TIME
public static final PartialKey ROW_COLFAM_COLQUAL_COLVIS_TIME
-
ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL
public static final PartialKey ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL
-
-
Method Detail
-
values
public static PartialKey[] 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 (PartialKey c : PartialKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PartialKey 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
-
getDepth
public int getDepth()
Gets the depth of this partial key.- Returns:
- depth
-
-