public enum PartialKey extends Enum<PartialKey>
Key
.Enum Constant and Description |
---|
ROW |
ROW_COLFAM |
ROW_COLFAM_COLQUAL |
ROW_COLFAM_COLQUAL_COLVIS |
ROW_COLFAM_COLQUAL_COLVIS_TIME |
ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL |
Modifier and Type | Method and Description |
---|---|
static PartialKey |
getByDepth(int depth)
Deprecated.
since 1.7.0
|
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.
|
public static final PartialKey ROW
public static final PartialKey ROW_COLFAM
public static final PartialKey ROW_COLFAM_COLQUAL
public static final PartialKey ROW_COLFAM_COLQUAL_COLVIS
public static final PartialKey ROW_COLFAM_COLQUAL_COLVIS_TIME
public static final PartialKey ROW_COLFAM_COLQUAL_COLVIS_TIME_DEL
public static PartialKey[] values()
for (PartialKey c : PartialKey.values()) System.out.println(c);
public static PartialKey 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 null@Deprecated public static PartialKey getByDepth(int depth)
depth
- depth of scope (i.e., number of fields included)IllegalArgumentException
- if no partial key has the given depthpublic int getDepth()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.