me.prettyprint.cassandra.service.template
Interface SuperCfResult<K,SN,N>
- Type Parameters:
K
- SN
- super column name data typeN
- child column name data type
- All Superinterfaces:
- ColumnFamilyResult<K,N>, Iterator<ColumnFamilyResult<K,N>>, ResultStatus
- All Known Subinterfaces:
- MappedSuperCfResult<K,SN,N,V>
- All Known Implementing Classes:
- MappedSuperCfResultWrapper, SuperCfResultWrapper
public interface SuperCfResult<K,SN,N>
- extends ColumnFamilyResult<K,N>
Holds the result for the contents of a super column. This interface add
access to the current super column similar to ColumnFamilyResult
- Author:
- david, zznate
Method Summary |
void |
applySuperColumn(SN sColumnName)
|
SN |
getActiveSuperColumn()
|
Boolean |
getBoolean(SN sColumnName,
N columnName)
|
byte[] |
getByteArray(SN sColumnName,
N columnName)
|
ByteBuffer |
getByteBuffer(SN sColumnName,
N columnName)
|
Date |
getDate(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 superColumn)
Retrieved named superColumn as an HSuperColumn with sub columns. |
Collection<SN> |
getSuperColumns()
|
UUID |
getUUID(SN sColumnName,
N columnName)
|
SuperCfResult<K,SN,N> |
next()
|
getSuperColumns
Collection<SN> getSuperColumns()
getKey
K getKey()
- Specified by:
getKey
in interface ColumnFamilyResult<K,N>
getUUID
UUID getUUID(SN sColumnName,
N columnName)
getString
String getString(SN sColumnName,
N columnName)
getLong
Long getLong(SN sColumnName,
N columnName)
getInteger
Integer getInteger(SN sColumnName,
N columnName)
getBoolean
Boolean getBoolean(SN sColumnName,
N columnName)
getByteArray
byte[] getByteArray(SN sColumnName,
N columnName)
getByteBuffer
ByteBuffer getByteBuffer(SN sColumnName,
N columnName)
getDate
Date getDate(SN sColumnName,
N columnName)
applySuperColumn
void applySuperColumn(SN sColumnName)
getActiveSuperColumn
SN getActiveSuperColumn()
getSuperColumn
HSuperColumn<SN,N,ByteBuffer> getSuperColumn(SN superColumn)
- Retrieved named superColumn as an HSuperColumn with sub columns.
Underlying column value is a ByteBuffer.
Note: Correct derialization and treatment is up to the caller.
- Parameters:
superColumn
-
- Returns:
next
SuperCfResult<K,SN,N> next()
- Specified by:
next
in interface Iterator<ColumnFamilyResult<K,N>>
Copyright © 2011. All Rights Reserved.