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