public enum AppToFlowColumn extends Enum<AppToFlowColumn> implements Column<AppToFlowTable>
AppToFlowTable.| Enum Constant and Description |
|---|
FLOW_ID
The flow ID.
|
FLOW_RUN_ID
The flow run ID.
|
USER_ID
The user.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getColumnFamilyBytes()
Returns column family name(as bytes) associated with this column.
|
byte[] |
getColumnQualifierBytes()
Get byte representation for this column qualifier.
|
ValueConverter |
getValueConverter()
Returns value converter implementation associated with this column.
|
Object |
readResult(org.apache.hadoop.hbase.client.Result result)
Get the latest version of this specified column.
|
void |
store(byte[] rowKey,
TypedBufferedMutator<AppToFlowTable> tableMutator,
Long timestamp,
Object inputValue,
Attribute... attributes)
Sends a Mutation to the table.
|
static AppToFlowColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppToFlowColumn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppToFlowColumn FLOW_ID
public static final AppToFlowColumn FLOW_RUN_ID
public static final AppToFlowColumn USER_ID
public static AppToFlowColumn[] values()
for (AppToFlowColumn c : AppToFlowColumn.values()) System.out.println(c);
public static AppToFlowColumn 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 nullpublic byte[] getColumnQualifierBytes()
ColumngetColumnQualifierBytes in interface Column<AppToFlowTable>public void store(byte[] rowKey,
TypedBufferedMutator<AppToFlowTable> tableMutator,
Long timestamp,
Object inputValue,
Attribute... attributes)
throws IOException
Columnstore in interface Column<AppToFlowTable>rowKey - identifying the row to write. Nothing gets written when null.tableMutator - used to modify the underlying HBase table. Caller is
responsible to pass a mutator for the table that actually has this
column.timestamp - version timestamp. When null the server timestamp will be
used.inputValue - the value to write to the rowKey and column qualifier.
Nothing gets written when null.attributes - Map of attributes for this mutation. used in the
coprocessor to set/read the cell tags. Can be null.IOException - if there is any exception encountered during store.public byte[] getColumnFamilyBytes()
ColumngetColumnFamilyBytes in interface Column<AppToFlowTable>public ValueConverter getValueConverter()
ColumngetValueConverter in interface Column<AppToFlowTable>ValueConverter implementation.public Object readResult(org.apache.hadoop.hbase.client.Result result) throws IOException
ColumnCell.readResult in interface Column<AppToFlowTable>result - Cannot be nullIOException - if there is any exception encountered while reading
result.Copyright © 2008–2018 Apache Software Foundation. All rights reserved.