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

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.statement.args.WithArgs

public class WithArgs
extends Object


Constructor Summary
WithArgs()
           
 
Method Summary
 String asString()
           
 ExpressionTree getClientExpressionTree()
           
 Set<ColumnAttrib> getColumnsUsedInAllWhereExprs()
           
 byte[][] getColumnsUsedInIndexWhereExpr()
           
 org.apache.hadoop.hbase.filter.Filter getFilterForTableIndex()
           
 String getIndexName()
           
 KeyRangeArgs getKeyRangeArgs()
           
 long getLimit()
           
 LimitArgs getLimitArgs()
           
 int getMaxVersions()
           
 List<NamedParameter> getParameterList()
           
 List<RowRequest> getRowRequestList(HConnectionImpl conn, Mapping mapping, Set<ColumnAttrib> columnAttribs)
           
 ExpressionTree getServerExpressionTree()
           
 boolean getVerbose()
           
 boolean hasAnIndex()
           
 void reset()
           
 void setClientExpressionTree(ExpressionTree clientExpressionTree)
           
 void setGetArgs(org.apache.hadoop.hbase.client.Get get, Set<ColumnAttrib> columnAttribs)
           
 void setIndexName(String indexName)
           
 void setKeyRangeArgs(KeyRangeArgs keyRangeArgs)
           
 void setLimitArgs(LimitArgs limitArgs)
           
 void setMappingContext(MappingContext mappingContext)
           
 int setParameter(String name, Object val)
           
 void setScanArgs(org.apache.hadoop.hbase.client.Scan scan, Set<ColumnAttrib> columnAttribs)
           
 void setScannerCacheArgs(ScannerCacheArgs scannerCacheArgs)
           
 void setServerExpressionTree(ExpressionTree serverExpressionTree)
           
 void setTimestampArgs(TimestampArgs timestampArgs)
           
 void setVerbose(boolean verbose)
           
 void setVersionArgs(VersionArgs versionArgs)
           
 void validate(HConnectionImpl conn, TableMapping mapping)
           
 void validateArgTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WithArgs

public WithArgs()
Method Detail

setMappingContext

public void setMappingContext(MappingContext mappingContext)
                       throws HBqlException
Throws:
HBqlException

validate

public void validate(HConnectionImpl conn,
                     TableMapping mapping)
              throws HBqlException
Throws:
HBqlException

validateArgTypes

public void validateArgTypes()
                      throws HBqlException
Throws:
HBqlException

getKeyRangeArgs

public KeyRangeArgs getKeyRangeArgs()

setIndexName

public void setIndexName(String indexName)

getIndexName

public String getIndexName()

hasAnIndex

public boolean hasAnIndex()

setKeyRangeArgs

public void setKeyRangeArgs(KeyRangeArgs keyRangeArgs)

setTimestampArgs

public void setTimestampArgs(TimestampArgs timestampArgs)

setVersionArgs

public void setVersionArgs(VersionArgs versionArgs)

setScannerCacheArgs

public void setScannerCacheArgs(ScannerCacheArgs scannerCacheArgs)

getLimitArgs

public LimitArgs getLimitArgs()

setLimitArgs

public void setLimitArgs(LimitArgs limitArgs)

getVerbose

public boolean getVerbose()

setVerbose

public void setVerbose(boolean verbose)

getClientExpressionTree

public ExpressionTree getClientExpressionTree()

setClientExpressionTree

public void setClientExpressionTree(ExpressionTree clientExpressionTree)

getServerExpressionTree

public ExpressionTree getServerExpressionTree()

setServerExpressionTree

public void setServerExpressionTree(ExpressionTree serverExpressionTree)

getLimit

public long getLimit()
              throws HBqlException
Throws:
HBqlException

asString

public String asString()

getParameterList

public List<NamedParameter> getParameterList()

reset

public void reset()

setParameter

public int setParameter(String name,
                        Object val)
                 throws HBqlException
Throws:
HBqlException

getFilterForTableIndex

public org.apache.hadoop.hbase.filter.Filter getFilterForTableIndex()
                                                             throws HBqlException
Throws:
HBqlException

getColumnsUsedInIndexWhereExpr

public byte[][] getColumnsUsedInIndexWhereExpr()

getColumnsUsedInAllWhereExprs

public Set<ColumnAttrib> getColumnsUsedInAllWhereExprs()

getRowRequestList

public List<RowRequest> getRowRequestList(HConnectionImpl conn,
                                          Mapping mapping,
                                          Set<ColumnAttrib> columnAttribs)
                                   throws HBqlException
Throws:
HBqlException

setGetArgs

public void setGetArgs(org.apache.hadoop.hbase.client.Get get,
                       Set<ColumnAttrib> columnAttribs)
                throws HBqlException
Throws:
HBqlException

setScanArgs

public void setScanArgs(org.apache.hadoop.hbase.client.Scan scan,
                        Set<ColumnAttrib> columnAttribs)
                 throws HBqlException
Throws:
HBqlException

getMaxVersions

public int getMaxVersions()
                   throws HBqlException
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.