org.apache.expreval.expr.var
Class GenericColumn<T extends GenericValue>

java.lang.Object
  extended by org.apache.expreval.expr.var.GenericColumn<T>
All Implemented Interfaces:
Serializable, GenericValue
Direct Known Subclasses:
BooleanColumn, ByteColumn, CharColumn, DateColumn, DelegateColumn, DoubleColumn, FloatColumn, IntegerColumn, KeyColumn, LongColumn, ObjectColumn, ShortColumn, StringColumn

public abstract class GenericColumn<T extends GenericValue>
extends Object
implements GenericValue

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
protected GenericColumn(ColumnAttrib attrib)
           
 
Method Summary
 void applyResultToAggregateValue(AggregateValue aggregateValue, org.apache.hadoop.hbase.client.Result result)
           
 String asString()
           
 ColumnAttrib getColumnAttrib()
           
protected  MultipleExpressionContext getExpressionContext()
           
protected  FieldType getFieldType()
           
 org.apache.hadoop.hbase.filter.Filter getFilter()
           
 T getOptimizedValue()
           
 String getVariableName()
           
 boolean hasAColumnReference()
           
 void initAggregateValue(AggregateValue aggregateValue)
           
 boolean isAColumnReference()
           
 boolean isAConstant()
           
 boolean isAnAggregateValue()
           
 boolean isDefaultKeyword()
           
 void reset()
           
 void setExpressionContext(MultipleExpressionContext context)
           
 Class<? extends GenericValue> validateTypes(GenericValue parentExpr, boolean allowCollections)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.expreval.expr.node.GenericValue
getValue
 

Constructor Detail

GenericColumn

protected GenericColumn(ColumnAttrib attrib)
Method Detail

getFieldType

protected FieldType getFieldType()

getColumnAttrib

public ColumnAttrib getColumnAttrib()

getVariableName

public String getVariableName()

getOptimizedValue

public T getOptimizedValue()
                                         throws HBqlException
Specified by:
getOptimizedValue in interface GenericValue
Throws:
HBqlException

isAConstant

public boolean isAConstant()
Specified by:
isAConstant in interface GenericValue

isDefaultKeyword

public boolean isDefaultKeyword()
Specified by:
isDefaultKeyword in interface GenericValue

isAnAggregateValue

public boolean isAnAggregateValue()
Specified by:
isAnAggregateValue in interface GenericValue

initAggregateValue

public void initAggregateValue(AggregateValue aggregateValue)
                        throws HBqlException
Specified by:
initAggregateValue in interface GenericValue
Throws:
HBqlException

applyResultToAggregateValue

public void applyResultToAggregateValue(AggregateValue aggregateValue,
                                        org.apache.hadoop.hbase.client.Result result)
                                 throws HBqlException
Specified by:
applyResultToAggregateValue in interface GenericValue
Throws:
HBqlException

hasAColumnReference

public boolean hasAColumnReference()
Specified by:
hasAColumnReference in interface GenericValue

isAColumnReference

public boolean isAColumnReference()
Specified by:
isAColumnReference in interface GenericValue

reset

public void reset()
Specified by:
reset in interface GenericValue

setExpressionContext

public void setExpressionContext(MultipleExpressionContext context)
                          throws HBqlException
Specified by:
setExpressionContext in interface GenericValue
Throws:
HBqlException

getExpressionContext

protected MultipleExpressionContext getExpressionContext()

validateTypes

public Class<? extends GenericValue> validateTypes(GenericValue parentExpr,
                                                   boolean allowCollections)
                                            throws HBqlException
Specified by:
validateTypes in interface GenericValue
Throws:
HBqlException

asString

public String asString()
Specified by:
asString in interface GenericValue

getFilter

public org.apache.hadoop.hbase.filter.Filter getFilter()
                                                throws HBqlException
Specified by:
getFilter in interface GenericValue
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.