public enum SubApplicationColumnPrefix extends Enum<SubApplicationColumnPrefix> implements ColumnPrefix<SubApplicationTable>
Enum Constant and Description |
---|
CONFIG
Config column stores configuration with config key as the column name.
|
EVENT
Lifecycle events for an entity.
|
INFO
To store TimelineEntity info values.
|
IS_RELATED_TO
To store TimelineEntity getIsRelatedToEntities values.
|
METRIC
Metrics are stored with the metric name as the column name.
|
RELATES_TO
To store TimelineEntity getRelatesToEntities values.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getColumnFamilyBytes()
Returns column family name(as bytes) associated with this column prefix.
|
String |
getColumnPrefix() |
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 SubApplicationColumnPrefix |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubApplicationColumnPrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubApplicationColumnPrefix IS_RELATED_TO
public static final SubApplicationColumnPrefix RELATES_TO
public static final SubApplicationColumnPrefix INFO
public static final SubApplicationColumnPrefix EVENT
public static final SubApplicationColumnPrefix CONFIG
public static final SubApplicationColumnPrefix METRIC
public static SubApplicationColumnPrefix[] values()
for (SubApplicationColumnPrefix c : SubApplicationColumnPrefix.values()) System.out.println(c);
public static SubApplicationColumnPrefix 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 String getColumnPrefix()
public byte[] getColumnPrefixBytes(byte[] qualifierPrefix)
getColumnPrefixBytes
in interface ColumnPrefix<SubApplicationTable>
qualifierPrefix
- Column qualifier or prefix of qualifier.public byte[] getColumnPrefixBytes(String qualifierPrefix)
getColumnPrefixBytes
in interface ColumnPrefix<SubApplicationTable>
qualifierPrefix
- Column qualifier or prefix of qualifier.public byte[] getColumnPrefixInBytes()
ColumnPrefix
getColumnPrefixInBytes
in interface ColumnPrefix<SubApplicationTable>
public byte[] getColumnFamilyBytes()
ColumnPrefix
getColumnFamilyBytes
in interface ColumnPrefix<SubApplicationTable>
public ValueConverter getValueConverter()
ColumnPrefix
getValueConverter
in interface ColumnPrefix<SubApplicationTable>
ValueConverter
implementation.public Attribute[] getCombinedAttrsWithAggr(Attribute... attributes)
ColumnPrefix
getCombinedAttrsWithAggr
in interface ColumnPrefix<SubApplicationTable>
public boolean supplementCellTimeStamp()
ColumnPrefix
supplementCellTimeStamp
in interface ColumnPrefix<SubApplicationTable>
Copyright © 2020 Apache Software Foundation. All rights reserved.