K - C - public class CqlRowImpl<K,C>
extends java.lang.Object
implements com.netflix.astyanax.model.Row<K,C>
Row that parses the ResultSet from java driver and translates back to Astyanax Row.
Note that if your schema has a clustering key, then each individual row from the result set is a unique column,
and all result set rows with the same partition key map to a unique Astyanax row.| Constructor and Description |
|---|
CqlRowImpl(K rKey,
CqlColumnListImpl<C> colList,
com.netflix.astyanax.model.ColumnFamily<K,C> columnFamily) |
CqlRowImpl(java.util.List<com.datastax.driver.core.Row> rows,
com.netflix.astyanax.model.ColumnFamily<K,C> cf) |
CqlRowImpl(com.datastax.driver.core.Row resultRow,
com.netflix.astyanax.model.ColumnFamily<K,C> cf) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.astyanax.model.ColumnList<C> |
getColumns() |
K |
getKey() |
java.nio.ByteBuffer |
getRawKey() |
public CqlRowImpl(com.datastax.driver.core.Row resultRow,
com.netflix.astyanax.model.ColumnFamily<K,C> cf)
public CqlRowImpl(java.util.List<com.datastax.driver.core.Row> rows,
com.netflix.astyanax.model.ColumnFamily<K,C> cf)
public CqlRowImpl(K rKey, CqlColumnListImpl<C> colList, com.netflix.astyanax.model.ColumnFamily<K,C> columnFamily)