org.apache.expreval.expr.calculation
Class DelegateCalculation

java.lang.Object
  extended by org.apache.expreval.expr.GenericExpression
      extended by org.apache.expreval.expr.DelegateStmt<GenericCalculation>
          extended by org.apache.expreval.expr.calculation.GenericCalculation
              extended by org.apache.expreval.expr.calculation.DelegateCalculation
All Implemented Interfaces:
Serializable, GenericValue

public class DelegateCalculation
extends GenericCalculation

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
DelegateCalculation(GenericValue arg0, Operator operator, GenericValue arg1)
           
 
Method Summary
 GenericValue getOptimizedValue()
           
 Object getValue(HConnectionImpl conn, Object object)
           
 Class<? extends GenericValue> validateTypes(GenericValue parentExpr, boolean allowCollections)
           
 
Methods inherited from class org.apache.expreval.expr.calculation.GenericCalculation
asString, getOperator
 
Methods inherited from class org.apache.expreval.expr.DelegateStmt
getTypedExpr, setTypedExpr
 
Methods inherited from class org.apache.expreval.expr.GenericExpression
applyResultToAggregateValue, getConstantValue, getExprArg, getExpressionContext, getFilter, getGenericValueClass, getGenericValueList, getInvalidTypeMsg, getSubArgs, getTypeSignature, getValueWithCast, getValueWithCast, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, newSingleColumnValueFilter, optimizeAllArgs, reset, setArg, setExpressionContext, useDecimal, validateNumericArgTypes, validateNumericTypes, validateParentClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateCalculation

public DelegateCalculation(GenericValue arg0,
                           Operator operator,
                           GenericValue arg1)
Method Detail

validateTypes

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

getOptimizedValue

public GenericValue getOptimizedValue()
                               throws HBqlException
Specified by:
getOptimizedValue in interface GenericValue
Overrides:
getOptimizedValue in class GenericExpression
Throws:
HBqlException

getValue

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


Copyright © 2011. All Rights Reserved.