org.apache.hadoop.hbase.hbql.statement
Class SelectStatement
java.lang.Object
org.apache.hadoop.hbase.hbql.statement.GenericStatement
org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
org.apache.hadoop.hbase.hbql.statement.StatementWithParameters
org.apache.hadoop.hbase.hbql.statement.SelectStatement
- All Implemented Interfaces:
- ConnectionStatement, HBqlStatement
public class SelectStatement
- extends StatementWithParameters
- implements HBqlStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectStatement
public SelectStatement(List<SelectElement> selectElementList,
String mappingName,
WithArgs withArgs)
getNextExpressionName
public String getNextExpressionName()
getSelectElementList
public List<SelectElement> getSelectElementList()
getSelectAttribList
public List<ColumnAttrib> getSelectAttribList()
getWithArgs
public WithArgs getWithArgs()
validate
public void validate(HConnectionImpl conn)
throws HBqlException
- Specified by:
validate
in class StatementWithParameters
- Throws:
HBqlException
validateTypes
public void validateTypes()
throws HBqlException
- Specified by:
validateTypes
in class StatementWithParameters
- Throws:
HBqlException
determineIfAggregateQuery
public void determineIfAggregateQuery()
throws HBqlException
- Throws:
HBqlException
isAnAggregateQuery
public boolean isAnAggregateQuery()
hasAsName
public boolean hasAsName(String name)
resetParameters
public void resetParameters()
- Specified by:
resetParameters
in class StatementWithParameters
setStatementParameter
public int setStatementParameter(String name,
Object val)
throws HBqlException
- Specified by:
setStatementParameter
in class StatementWithParameters
- Throws:
HBqlException
asString
public String asString()
usage
public static String usage()
Copyright © 2011. All Rights Reserved.