org.apache.expreval.expr.function
Class BooleanFunction

java.lang.Object
  extended by org.apache.expreval.expr.GenericExpression
      extended by org.apache.expreval.expr.function.GenericFunction
          extended by org.apache.expreval.expr.function.BooleanFunction
All Implemented Interfaces:
Serializable, BooleanValue, GenericValue

public class BooleanFunction
extends GenericFunction
implements BooleanValue

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.expreval.expr.function.GenericFunction
GenericFunction.FunctionType
 
Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
BooleanFunction(GenericFunction.FunctionType functionType, List<GenericValue> exprs)
           
 
Method Summary
 Boolean getValue(HConnectionImpl conn, Object object)
           
 Class<? extends GenericValue> validateTypes(GenericValue parentExpr, boolean allowCollections)
           
 
Methods inherited from class org.apache.expreval.expr.function.GenericFunction
asString, getFunctionName, getFunctionType, getOptimizedValue, getTypeSignature, isAConstant, isAnAggregateValue, isConstantDate, isIntervalDate
 
Methods inherited from class org.apache.expreval.expr.GenericExpression
applyResultToAggregateValue, getConstantValue, getExprArg, getExpressionContext, getFilter, getGenericValueClass, getGenericValueList, getInvalidTypeMsg, getSubArgs, getValueWithCast, getValueWithCast, hasAColumnReference, initAggregateValue, isAColumnReference, 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
 
Methods inherited from interface org.apache.expreval.expr.node.GenericValue
applyResultToAggregateValue, asString, getFilter, getOptimizedValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset, setExpressionContext
 

Constructor Detail

BooleanFunction

public BooleanFunction(GenericFunction.FunctionType functionType,
                       List<GenericValue> exprs)
Method Detail

validateTypes

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

getValue

public Boolean getValue(HConnectionImpl conn,
                        Object object)
                 throws HBqlException,
                        ResultMissingColumnException,
                        NullColumnValueException
Specified by:
getValue in interface BooleanValue
Specified by:
getValue in interface GenericValue
Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException


Copyright © 2011. All Rights Reserved.