org.apache.cassandra.cql.common
Class SuperColumnRangeQueryRSD

java.lang.Object
  extended by org.apache.cassandra.cql.common.RowSourceDef
      extended by org.apache.cassandra.cql.common.SuperColumnRangeQueryRSD

public class SuperColumnRangeQueryRSD
extends RowSourceDef

A Row Source Defintion (RSD) for doing a super column range query on a Super Column Family.


Constructor Summary
SuperColumnRangeQueryRSD(CFMetaData cfMetaData, OperandDef rowKey, int offset, int limit)
          Set up a range query on super column map in a super column family.
 
Method Summary
 java.lang.String explainPlan()
           
 java.util.List<java.util.Map<java.lang.String,java.lang.String>> getRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuperColumnRangeQueryRSD

public SuperColumnRangeQueryRSD(CFMetaData cfMetaData,
                                OperandDef rowKey,
                                int offset,
                                int limit)
Set up a range query on super column map in a super column family. The super column map is identified by the rowKey. Note: "limit" of -1 is the equivalent of no limit. "offset" specifies the number of rows to skip. An offset of 0 implies from the first row.

Method Detail

getRows

public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getRows()
Specified by:
getRows in class RowSourceDef

explainPlan

public java.lang.String explainPlan()
Specified by:
explainPlan in class RowSourceDef


Copyright © 2009 The Apache Software Foundation