N - the super column's sub column name typepublic class SuperCfResultWrapper<K,SN,N> extends AbstractResultWrapper<K,N> implements SuperCfResult<K,SN,N>
columnNameSerializer, keySerializer, resultStatus| Constructor and Description |
|---|
SuperCfResultWrapper(Serializer<K> keySerializer,
Serializer<SN> sNameSerializer,
Serializer<N> subSerializer,
ExecutionResult<Map<ByteBuffer,List<org.apache.cassandra.thrift.ColumnOrSuperColumn>>> executionResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
applySuperColumn(SN sColumnName) |
SN |
getActiveSuperColumn() |
Boolean |
getBoolean(SN sColumnName,
N columnName) |
byte[] |
getByteArray(SN sColumnName,
N columnName) |
ByteBuffer |
getByteBuffer(SN sColumnName,
N columnName) |
HColumn<N,ByteBuffer> |
getColumn(N columnName) |
Collection<N> |
getColumnNames() |
ByteBuffer |
getColumnValue(N columnName) |
Date |
getDate(SN sColumnName,
N columnName) |
Double |
getDouble(SN sColumnName,
N columnName) |
Float |
getFloat(SN sColumnName,
N columnName) |
Integer |
getInteger(SN sColumnName,
N columnName) |
K |
getKey() |
Long |
getLong(SN sColumnName,
N columnName) |
String |
getString(SN sColumnName,
N columnName) |
HSuperColumn<SN,N,ByteBuffer> |
getSuperColumn(SN sColumnName)
Retrieved named superColumn as an HSuperColumn with sub columns.
|
List<SN> |
getSuperColumns() |
UUID |
getUUID(SN sColumnName,
N columnName) |
boolean |
hasNext() |
boolean |
hasResults() |
SuperCfResult<K,SN,N> |
next() |
void |
remove() |
getBoolean, getByteArray, getDate, getDouble, getExecutionTimeMicro, getExecutionTimeNano, getFloat, getHostUsed, getInteger, getLong, getString, getUUIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoolean, getByteArray, getDate, getDouble, getFloat, getInteger, getLong, getString, getUUIDgetExecutionTimeMicro, getExecutionTimeNano, getHostUsedpublic SuperCfResultWrapper(Serializer<K> keySerializer, Serializer<SN> sNameSerializer, Serializer<N> subSerializer, ExecutionResult<Map<ByteBuffer,List<org.apache.cassandra.thrift.ColumnOrSuperColumn>>> executionResult)
public SuperCfResult<K,SN,N> next()
next in interface Iterator<ColumnFamilyResult<K,N>>next in interface SuperCfResult<K,SN,N>public List<SN> getSuperColumns()
getSuperColumns in interface SuperCfResult<K,SN,N>public ByteBuffer getColumnValue(N columnName)
getColumnValue in class AbstractResultWrapper<K,N>public K getKey()
getKey in interface ColumnFamilyResult<K,N>getKey in interface SuperCfResult<K,SN,N>public HColumn<N,ByteBuffer> getColumn(N columnName)
getColumn in interface ColumnFamilyResult<K,N>public Collection<N> getColumnNames()
getColumnNames in interface ColumnFamilyResult<K,N>public boolean hasNext()
hasNext in interface Iterator<ColumnFamilyResult<K,N>>public void remove()
remove in interface Iterator<ColumnFamilyResult<K,N>>public Boolean getBoolean(SN sColumnName, N columnName)
getBoolean in interface SuperCfResult<K,SN,N>public byte[] getByteArray(SN sColumnName, N columnName)
getByteArray in interface SuperCfResult<K,SN,N>public Date getDate(SN sColumnName, N columnName)
getDate in interface SuperCfResult<K,SN,N>public Integer getInteger(SN sColumnName, N columnName)
getInteger in interface SuperCfResult<K,SN,N>public Long getLong(SN sColumnName, N columnName)
getLong in interface SuperCfResult<K,SN,N>public Float getFloat(SN sColumnName, N columnName)
getFloat in interface SuperCfResult<K,SN,N>public Double getDouble(SN sColumnName, N columnName)
getDouble in interface SuperCfResult<K,SN,N>public String getString(SN sColumnName, N columnName)
getString in interface SuperCfResult<K,SN,N>public UUID getUUID(SN sColumnName, N columnName)
getUUID in interface SuperCfResult<K,SN,N>public ByteBuffer getByteBuffer(SN sColumnName, N columnName)
getByteBuffer in interface SuperCfResult<K,SN,N>public SN getActiveSuperColumn()
getActiveSuperColumn in interface SuperCfResult<K,SN,N>public HSuperColumn<SN,N,ByteBuffer> getSuperColumn(SN sColumnName)
SuperCfResultgetSuperColumn in interface SuperCfResult<K,SN,N>public void applySuperColumn(SN sColumnName)
applySuperColumn in interface SuperCfResult<K,SN,N>public boolean hasResults()
hasResults in interface ColumnFamilyResult<K,N>Copyright © 2014. All Rights Reserved.