org.apache.hadoop.hbase.hbql.statement.args
Class WithArgs
java.lang.Object
org.apache.hadoop.hbase.hbql.statement.args.WithArgs
public class WithArgs
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WithArgs
public WithArgs()
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.