org.apache.expreval.expr.ifthenstmt
Class GenericIfThen

java.lang.Object
  extended by org.apache.expreval.expr.GenericExpression
      extended by org.apache.expreval.expr.DelegateStmt<GenericIfThen>
          extended by org.apache.expreval.expr.ifthenstmt.GenericIfThen
All Implemented Interfaces:
Serializable, GenericValue
Direct Known Subclasses:
BooleanIfThen, ByteIfThen, DateIfThen, DelegateIfThen, NumberIfThen, StringIfThen

public abstract class GenericIfThen
extends DelegateStmt<GenericIfThen>

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
protected GenericIfThen(ExpressionType type, GenericValue arg0, GenericValue arg1, GenericValue arg2)
           
 
Method Summary
 String asString()
           
 Object getValue(HConnectionImpl conn, Object object)
           
 
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, getOptimizedValue, getSubArgs, getTypeSignature, getValueWithCast, getValueWithCast, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, newSingleColumnValueFilter, optimizeAllArgs, reset, setArg, setExpressionContext, useDecimal, validateNumericArgTypes, validateNumericTypes, validateParentClass, validateTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericIfThen

protected GenericIfThen(ExpressionType type,
                        GenericValue arg0,
                        GenericValue arg1,
                        GenericValue arg2)
Method Detail

getValue

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

asString

public String asString()
Specified by:
asString in interface GenericValue
Overrides:
asString in class GenericExpression


Copyright © 2011. All Rights Reserved.