public class ColumnList extends Object
addColumn()
and addCounter()
methods.Modifier and Type | Class and Description |
---|---|
static class |
ColumnList.AbstractColumn |
static class |
ColumnList.Column |
static class |
ColumnList.Counter |
Constructor and Description |
---|
ColumnList() |
Modifier and Type | Method and Description |
---|---|
ColumnList |
addColumn(byte[] family,
byte[] qualifier,
byte[] value)
Add a standard HBase column
|
ColumnList |
addColumn(byte[] family,
byte[] qualifier,
long ts,
byte[] value)
Add a standard HBase column.
|
ColumnList |
addColumn(IColumn column)
Add a standard HBase column given an instance of a class that implements
the
IColumn interface. |
ColumnList |
addCounter(byte[] family,
byte[] qualifier,
long incr)
Add an HBase counter column.
|
ColumnList |
addCounter(ICounter counter)
Add an HBase counter column given an instance of a class that implements the
ICounter interface. |
List<ColumnList.Column> |
getColumns()
Get the list of column definitions.
|
List<ColumnList.Counter> |
getCounters()
Get the list of counter definitions.
|
boolean |
hasColumns()
Query to determine if we have column definitions.
|
boolean |
hasCounters()
Query to determine if we have counter definitions.
|
public ColumnList addColumn(byte[] family, byte[] qualifier, long ts, byte[] value)
family
- qualifier
- ts
- value
- public ColumnList addColumn(byte[] family, byte[] qualifier, byte[] value)
family
- qualifier
- value
- public ColumnList addColumn(IColumn column)
IColumn
interface.column
- public ColumnList addCounter(byte[] family, byte[] qualifier, long incr)
family
- qualifier
- incr
- public ColumnList addCounter(ICounter counter)
ICounter
interface.counter
- public boolean hasColumns()
public boolean hasCounters()
public List<ColumnList.Column> getColumns()
public List<ColumnList.Counter> getCounters()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.