org.apache.hadoop.hbase.hbql.statement.args
Class KeyRange

java.lang.Object
  extended by org.apache.expreval.expr.MultipleExpressionContext
      extended by org.apache.expreval.expr.ExpressionProperty
          extended by org.apache.hadoop.hbase.hbql.statement.args.SelectStatementArgs
              extended by org.apache.hadoop.hbase.hbql.statement.args.KeyRange
All Implemented Interfaces:
Serializable

public class KeyRange
extends SelectStatementArgs

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.hbql.statement.args.SelectStatementArgs
SelectStatementArgs.ArgType
 
Method Summary
 String asString()
           
 List<RowRequest> getRowRequestList(WithArgs withArgs, ColumnAttrib keyAttrib, Set<ColumnAttrib> columnAttribs)
           
 boolean isSingleKey()
           
static KeyRange newAllRange()
           
static KeyRange newFirstRange(GenericValue arg0)
           
static KeyRange newLastRange(GenericValue arg0)
           
static KeyRange newRange(GenericValue arg0, GenericValue arg1)
           
static KeyRange newSingleKey(GenericValue arg0)
           
 void validate()
           
 
Methods inherited from class org.apache.expreval.expr.ExpressionProperty
allowColumns, getBooleanValue, getIntegerValue, getPropertyType, useResultData
 
Methods inherited from class org.apache.expreval.expr.MultipleExpressionContext
addColumnToUsedList, addExpression, addNamedParameter, evaluate, evaluateConstant, getAttribsUsedInExpr, getColumnsUsedInExpr, getExpressionList, getGenericValue, getMapping, getMappingContext, getNamedParamMap, getParameterList, getResultAccessor, getTableMapping, optimize, reset, setGenericValue, setMappingContext, setParameter, validateTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newRange

public static KeyRange newRange(GenericValue arg0,
                                GenericValue arg1)

newSingleKey

public static KeyRange newSingleKey(GenericValue arg0)

newFirstRange

public static KeyRange newFirstRange(GenericValue arg0)

newLastRange

public static KeyRange newLastRange(GenericValue arg0)

newAllRange

public static KeyRange newAllRange()

isSingleKey

public boolean isSingleKey()

validate

public void validate()
              throws HBqlException
Overrides:
validate in class ExpressionProperty
Throws:
HBqlException

getRowRequestList

public List<RowRequest> getRowRequestList(WithArgs withArgs,
                                          ColumnAttrib keyAttrib,
                                          Set<ColumnAttrib> columnAttribs)
                                   throws HBqlException
Throws:
HBqlException

asString

public String asString()
Specified by:
asString in class MultipleExpressionContext


Copyright © 2011. All Rights Reserved.