public static enum RecordIdentifier.Field extends Enum<RecordIdentifier.Field>
VirtualColumn.ROWID
Contains metadata about each field in RecordIdentifier that needs to be part of ROWID
which is represented as a struct RecordIdentifier.StructInfo
.
Each field of RecordIdentifier which should be part of ROWID should be in this enum... which
really means that it should be part of VirtualColumn (so make a subclass for rowid).Enum Constant and Description |
---|
bucketId |
rowId |
transactionId |
Modifier and Type | Field and Description |
---|---|
ObjectInspector |
fieldOI |
TypeInfo |
fieldType |
Modifier and Type | Method and Description |
---|---|
static RecordIdentifier.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordIdentifier.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordIdentifier.Field transactionId
public static final RecordIdentifier.Field bucketId
public static final RecordIdentifier.Field rowId
public final TypeInfo fieldType
public final ObjectInspector fieldOI
public static RecordIdentifier.Field[] values()
for (RecordIdentifier.Field c : RecordIdentifier.Field.values()) System.out.println(c);
public static RecordIdentifier.Field 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 nullCopyright © 2017 The Apache Software Foundation. All rights reserved.