public enum EntityColumn extends Enum<EntityColumn> implements Column<EntityTable>
EntityTable
.Enum Constant and Description |
---|
CREATED_TIME
When the entity was created.
|
FLOW_VERSION
The version of the flow that this entity belongs to.
|
ID
Identifier for the entity.
|
TYPE
The type of entity.
|
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.
|
Attribute[] |
getCombinedAttrsWithAggr(Attribute... attributes)
Return attributed combined with aggregations, if any.
|
ValueConverter |
getValueConverter()
Returns value converter implementation associated with this column.
|
boolean |
supplementCellTimestamp()
Return true if the cell timestamp needs to be supplemented.
|
static EntityColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityColumn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityColumn ID
public static final EntityColumn TYPE
public static final EntityColumn CREATED_TIME
public static final EntityColumn FLOW_VERSION
public static EntityColumn[] values()
for (EntityColumn c : EntityColumn.values()) System.out.println(c);
public static EntityColumn 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()
Column
getColumnQualifierBytes
in interface Column<EntityTable>
public byte[] getColumnFamilyBytes()
Column
getColumnFamilyBytes
in interface Column<EntityTable>
public ValueConverter getValueConverter()
Column
getValueConverter
in interface Column<EntityTable>
ValueConverter
implementation.public Attribute[] getCombinedAttrsWithAggr(Attribute... attributes)
Column
getCombinedAttrsWithAggr
in interface Column<EntityTable>
public boolean supplementCellTimestamp()
Column
supplementCellTimestamp
in interface Column<EntityTable>
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.