public class ThriftRow extends Object
| Constructor and Description |
|---|
ThriftRow()
default constructor.
|
ThriftRow(Object id,
String columnFamilyName,
List<org.apache.cassandra.thrift.Column> columns,
List<org.apache.cassandra.thrift.SuperColumn> superColumns,
List<org.apache.cassandra.thrift.CounterColumn> counterColumns,
List<org.apache.cassandra.thrift.CounterSuperColumn> counterSuperColumns)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(org.apache.cassandra.thrift.Column column)
Adds the column.
|
void |
addCounterColumn(org.apache.cassandra.thrift.CounterColumn column)
Adds the counter column.
|
void |
addCounterSuperColumn(org.apache.cassandra.thrift.CounterSuperColumn superColumn)
Adds the counter super column.
|
void |
addSuperColumn(org.apache.cassandra.thrift.SuperColumn superColumn)
Adds the super column.
|
String |
getColumnFamilyName()
Gets the column family name.
|
List<org.apache.cassandra.thrift.Column> |
getColumns()
Gets the columns.
|
List<org.apache.cassandra.thrift.CounterColumn> |
getCounterColumns()
Gets the counter columns.
|
List<org.apache.cassandra.thrift.CounterSuperColumn> |
getCounterSuperColumns()
Gets the counter super columns.
|
Object |
getId()
Gets the id.
|
List<org.apache.cassandra.thrift.SuperColumn> |
getSuperColumns()
Gets the super columns.
|
void |
setColumnFamilyName(String columnFamilyName)
Sets the column family name.
|
void |
setColumns(List<org.apache.cassandra.thrift.Column> columns)
Sets the columns.
|
void |
setCounterColumns(List<org.apache.cassandra.thrift.CounterColumn> counterColumns)
Sets the counter columns.
|
void |
setCounterSuperColumns(List<org.apache.cassandra.thrift.CounterSuperColumn> counterSuperColumns)
Sets the counter super columns.
|
void |
setId(Object id)
Sets the id.
|
void |
setSuperColumns(List<org.apache.cassandra.thrift.SuperColumn> superColumns)
Sets the super columns.
|
public ThriftRow()
public ThriftRow(Object id, String columnFamilyName, List<org.apache.cassandra.thrift.Column> columns, List<org.apache.cassandra.thrift.SuperColumn> superColumns, List<org.apache.cassandra.thrift.CounterColumn> counterColumns, List<org.apache.cassandra.thrift.CounterSuperColumn> counterSuperColumns)
id - the idcolumnFamilyName - the column family namecolumns - the columnssuperColumns - the super columnscounterColumns - the counter columnscounterSuperColumns - the counter super columnspublic void addColumn(org.apache.cassandra.thrift.Column column)
column - the columnpublic Object getId()
public void setId(Object id)
id - the id to setpublic String getColumnFamilyName()
public void setColumnFamilyName(String columnFamilyName)
columnFamilyName - the columnFamilyName to setpublic List<org.apache.cassandra.thrift.Column> getColumns()
public void setColumns(List<org.apache.cassandra.thrift.Column> columns)
columns - the columns to setpublic List<org.apache.cassandra.thrift.SuperColumn> getSuperColumns()
public void setSuperColumns(List<org.apache.cassandra.thrift.SuperColumn> superColumns)
superColumns - the superColumns to setpublic void addSuperColumn(org.apache.cassandra.thrift.SuperColumn superColumn)
superColumn - the super columnpublic List<org.apache.cassandra.thrift.CounterColumn> getCounterColumns()
public void setCounterColumns(List<org.apache.cassandra.thrift.CounterColumn> counterColumns)
counterColumns - the counterColumns to setpublic void addCounterColumn(org.apache.cassandra.thrift.CounterColumn column)
column - the columnpublic List<org.apache.cassandra.thrift.CounterSuperColumn> getCounterSuperColumns()
public void setCounterSuperColumns(List<org.apache.cassandra.thrift.CounterSuperColumn> counterSuperColumns)
counterSuperColumns - the counterSuperColumns to setpublic void addCounterSuperColumn(org.apache.cassandra.thrift.CounterSuperColumn superColumn)
superColumn - the super columnCopyright © 2016. All Rights Reserved.