org.apache.hadoop.hbase.hbql.statement.select
Interface SelectElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
FamilySelectElement, SelectExpressionContext

public interface SelectElement
extends Serializable


Field Summary
static long serialVersionUID
           
 
Method Summary
 void assignAsNamesForExpressions(SelectStatement selectStatement)
           
 void assignSelectValue(HConnectionImpl connection, Object newobj, int maxVerions, org.apache.hadoop.hbase.client.Result result)
           
 String asString()
           
 String getAsName()
           
 List<ColumnAttrib> getAttribsUsedInExpr()
           
 String getElementName()
           
 List<NamedParameter> getParameterList()
           
 boolean hasAsName()
           
 boolean isAFamilySelect()
           
 boolean isAnAggregateElement()
           
 AggregateValue newAggregateValue()
           
 void reset()
           
 int setParameter(String name, Object val)
           
 void validate(MappingContext mappingContext, HConnection connection)
           
 void validateTypes(boolean allowColumns, boolean allowCollections)
           
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

validate

void validate(MappingContext mappingContext,
              HConnection connection)
              throws HBqlException
Throws:
HBqlException

getAttribsUsedInExpr

List<ColumnAttrib> getAttribsUsedInExpr()

assignAsNamesForExpressions

void assignAsNamesForExpressions(SelectStatement selectStatement)

assignSelectValue

void assignSelectValue(HConnectionImpl connection,
                       Object newobj,
                       int maxVerions,
                       org.apache.hadoop.hbase.client.Result result)
                       throws HBqlException
Throws:
HBqlException

setParameter

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

getParameterList

List<NamedParameter> getParameterList()

reset

void reset()

getAsName

String getAsName()

getElementName

String getElementName()

hasAsName

boolean hasAsName()

isAFamilySelect

boolean isAFamilySelect()

asString

String asString()

newAggregateValue

AggregateValue newAggregateValue()
                                 throws HBqlException
Throws:
HBqlException

isAnAggregateElement

boolean isAnAggregateElement()

validateTypes

void validateTypes(boolean allowColumns,
                   boolean allowCollections)
                   throws HBqlException
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.