org.apache.expreval.expr.node
Interface GenericValue

All Superinterfaces:
Serializable
All Known Subinterfaces:
BooleanValue, ByteValue, CharValue, DateValue, DoubleValue, FloatValue, IntegerValue, LongValue, NumberValue, ObjectValue, ShortValue, StringValue
All Known Implementing Classes:
BooleanCase, BooleanCaseElse, BooleanCaseWhen, BooleanColumn, BooleanCompare, BooleanFunction, BooleanIfThen, BooleanInStmt, BooleanLiteral, BooleanNot, BooleanNullCompare, ByteBetweenStmt, ByteColumn, ByteCompare, ByteIfThen, ByteLiteral, ByteNullCompare, CharColumn, ContainsStmt, DateBetweenStmt, DateCalculation, DateCase, DateCaseElse, DateCaseWhen, DateColumn, DateCompare, DateFunction, DateIfThen, DateInStmt, DateLiteral, DateNullCompare, DefaultKeyword, DelegateBetweenStmt, DelegateCalculation, DelegateCase, DelegateCaseElse, DelegateCaseWhen, DelegateColumn, DelegateCompare, DelegateFunction, DelegateIfThen, DelegateInStmt, DelegateNullCompare, DelegateStmt, DoubleColumn, DoubleLiteral, FloatColumn, FloatLiteral, GenericBetweenStmt, GenericCalculation, GenericCase, GenericCaseElse, GenericCaseWhen, GenericColumn, GenericCompare, GenericExpression, GenericFunction, GenericIfThen, GenericInStmt, GenericLiteral, GenericNullCompare, GenericStringPatternStmt, IntegerColumn, IntegerLiteral, KeyColumn, LikeStmt, LongColumn, LongLiteral, NamedParameter, NotValue, NullLiteral, NumberBetweenStmt, NumberCase, NumberCaseElse, NumberCaseWhen, NumberCompare, NumberFunction, NumberIfThen, NumberInStmt, NumberNullCompare, NumericCalculation, ObjectColumn, ObjectLiteral, ObjectNullCompare, ShortColumn, ShortLiteral, StringBetweenStmt, StringCalculation, StringCase, StringCaseElse, StringCaseWhen, StringColumn, StringCompare, StringFunction, StringIfThen, StringInStmt, StringLiteral, StringNullCompare

public interface GenericValue
extends Serializable


Field Summary
static long serialVersionUID
           
 
Method Summary
 void applyResultToAggregateValue(AggregateValue aggregateValue, org.apache.hadoop.hbase.client.Result result)
           
 String asString()
           
 org.apache.hadoop.hbase.filter.Filter getFilter()
           
 GenericValue getOptimizedValue()
           
 Object getValue(HConnectionImpl connection, Object object)
           
 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)
           
 

Field Detail

serialVersionUID

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

setExpressionContext

void setExpressionContext(MultipleExpressionContext context)
                          throws HBqlException
Throws:
HBqlException

getValue

Object getValue(HConnectionImpl connection,
                Object object)
                throws HBqlException,
                       ResultMissingColumnException,
                       NullColumnValueException
Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException

getFilter

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

getOptimizedValue

GenericValue getOptimizedValue()
                               throws HBqlException
Throws:
HBqlException

validateTypes

Class<? extends GenericValue> validateTypes(GenericValue parentExpr,
                                            boolean allowCollections)
                                            throws HBqlException
Throws:
HBqlException

isAConstant

boolean isAConstant()

isDefaultKeyword

boolean isDefaultKeyword()

isAnAggregateValue

boolean isAnAggregateValue()

initAggregateValue

void initAggregateValue(AggregateValue aggregateValue)
                        throws HBqlException
Throws:
HBqlException

applyResultToAggregateValue

void applyResultToAggregateValue(AggregateValue aggregateValue,
                                 org.apache.hadoop.hbase.client.Result result)
                                 throws HBqlException,
                                        ResultMissingColumnException,
                                        NullColumnValueException
Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException

hasAColumnReference

boolean hasAColumnReference()

isAColumnReference

boolean isAColumnReference()

asString

String asString()

reset

void reset()


Copyright © 2011. All Rights Reserved.