public enum ApplicationColumn extends Enum<ApplicationColumn> implements Column<ApplicationTable>
ApplicationTable.| Enum Constant and Description |
|---|
CREATED_TIME
When the application was created.
|
FLOW_VERSION
The version of the flow that this app belongs to.
|
ID
App id.
|
| 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<ApplicationTable> tableMutator,
Long timestamp,
Object inputValue,
Attribute... attributes)
Sends a Mutation to the table.
|
static ApplicationColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationColumn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationColumn ID
public static final ApplicationColumn CREATED_TIME
public static final ApplicationColumn FLOW_VERSION
public static ApplicationColumn[] values()
for (ApplicationColumn c : ApplicationColumn.values()) System.out.println(c);
public static ApplicationColumn 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 void store(byte[] rowKey,
TypedBufferedMutator<ApplicationTable> tableMutator,
Long timestamp,
Object inputValue,
Attribute... attributes)
throws IOException
Columnstore in interface Column<ApplicationTable>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 Object readResult(org.apache.hadoop.hbase.client.Result result) throws IOException
ColumnCell.readResult in interface Column<ApplicationTable>result - Cannot be nullIOException - if there is any exception encountered while reading
result.public byte[] getColumnQualifierBytes()
ColumngetColumnQualifierBytes in interface Column<ApplicationTable>public byte[] getColumnFamilyBytes()
ColumngetColumnFamilyBytes in interface Column<ApplicationTable>public ValueConverter getValueConverter()
ColumngetValueConverter in interface Column<ApplicationTable>ValueConverter implementation.Copyright © 2018 Apache Software Foundation. All Rights Reserved.