me.prettyprint.hector.api.query
Interface ColumnQuery<K,N,V>

Type Parameters:
N - Column name type.
V - Column value type.
All Superinterfaces:
Query<HColumn<N,V>>
All Known Implementing Classes:
AbstractColumnQuery, ThriftColumnQuery, ThriftTypeInferringColumnQuery

public interface ColumnQuery<K,N,V>
extends Query<HColumn<N,V>>

A ColumnQuery is used for querying the value of a single and standard column.

To read a value of a super column use SuperColumnQuery. To read a value of a sub-column within a super column use SubColumnQuery.

Author:
Ran Tavory

Method Summary
 ColumnQuery<K,N,V> setColumnFamily(String cf)
           
 ColumnQuery<K,N,V> setKey(K key)
          Set the row key for this query.
 ColumnQuery<K,N,V> setName(N name)
          Set the column name for this query.
 
Methods inherited from interface me.prettyprint.hector.api.query.Query
execute
 

Method Detail

setKey

ColumnQuery<K,N,V> setKey(K key)
Set the row key for this query.


setName

ColumnQuery<K,N,V> setName(N name)
Set the column name for this query.


setColumnFamily

ColumnQuery<K,N,V> setColumnFamily(String cf)


Copyright © 2011. All Rights Reserved.