public enum DomainColumn extends Enum<DomainColumn> implements Column<DomainTable>
DomainTable
.Enum Constant and Description |
---|
CREATED_TIME
The created time.
|
DESCRIPTION
The description of the domain.
|
MODIFICATION_TIME
The modification time.
|
OWNER
The owner.
|
READERS
The readers.
|
WRITERS
The Writers.
|
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 DomainColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainColumn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainColumn CREATED_TIME
public static final DomainColumn DESCRIPTION
public static final DomainColumn MODIFICATION_TIME
public static final DomainColumn OWNER
public static final DomainColumn READERS
public static final DomainColumn WRITERS
public static DomainColumn[] values()
for (DomainColumn c : DomainColumn.values()) System.out.println(c);
public static DomainColumn 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<DomainTable>
public byte[] getColumnFamilyBytes()
Column
getColumnFamilyBytes
in interface Column<DomainTable>
public ValueConverter getValueConverter()
Column
getValueConverter
in interface Column<DomainTable>
ValueConverter
implementation.public Attribute[] getCombinedAttrsWithAggr(Attribute... attributes)
Column
getCombinedAttrsWithAggr
in interface Column<DomainTable>
public boolean supplementCellTimestamp()
Column
supplementCellTimestamp
in interface Column<DomainTable>
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.