public enum AppToFlowColumnPrefix extends Enum<AppToFlowColumnPrefix> implements ColumnPrefix<AppToFlowTable>
Enum Constant and Description |
---|
FLOW_NAME
The flow name.
|
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 prefix.
|
byte[] |
getColumnPrefixBytes(byte[] qualifierPrefix) |
byte[] |
getColumnPrefixBytes(String qualifierPrefix) |
byte[] |
getColumnPrefixInBytes()
Get the column prefix in bytes.
|
Attribute[] |
getCombinedAttrsWithAggr(Attribute... attributes)
Return attributed combined with aggregations, if any.
|
ValueConverter |
getValueConverter()
Returns value converter implementation associated with this column prefix.
|
boolean |
supplementCellTimeStamp()
Return true if the cell timestamp needs to be supplemented.
|
static AppToFlowColumnPrefix |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppToFlowColumnPrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppToFlowColumnPrefix FLOW_NAME
public static final AppToFlowColumnPrefix FLOW_RUN_ID
public static final AppToFlowColumnPrefix USER_ID
public static AppToFlowColumnPrefix[] values()
for (AppToFlowColumnPrefix c : AppToFlowColumnPrefix.values()) System.out.println(c);
public static AppToFlowColumnPrefix 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[] getColumnPrefixBytes(String qualifierPrefix)
getColumnPrefixBytes
in interface ColumnPrefix<AppToFlowTable>
qualifierPrefix
- Column qualifier or prefix of qualifier.public byte[] getColumnPrefixBytes(byte[] qualifierPrefix)
getColumnPrefixBytes
in interface ColumnPrefix<AppToFlowTable>
qualifierPrefix
- Column qualifier or prefix of qualifier.public byte[] getColumnPrefixInBytes()
ColumnPrefix
getColumnPrefixInBytes
in interface ColumnPrefix<AppToFlowTable>
public byte[] getColumnFamilyBytes()
ColumnPrefix
getColumnFamilyBytes
in interface ColumnPrefix<AppToFlowTable>
public ValueConverter getValueConverter()
ColumnPrefix
getValueConverter
in interface ColumnPrefix<AppToFlowTable>
ValueConverter
implementation.public Attribute[] getCombinedAttrsWithAggr(Attribute... attributes)
ColumnPrefix
getCombinedAttrsWithAggr
in interface ColumnPrefix<AppToFlowTable>
public boolean supplementCellTimeStamp()
ColumnPrefix
supplementCellTimeStamp
in interface ColumnPrefix<AppToFlowTable>
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.