org.apache.expreval.expr.instmt
Class GenericInStmt
java.lang.Object
org.apache.expreval.expr.GenericExpression
org.apache.expreval.expr.DelegateStmt<T>
org.apache.expreval.expr.NotValue<GenericInStmt>
org.apache.expreval.expr.instmt.GenericInStmt
- All Implemented Interfaces:
- Serializable, BooleanValue, GenericValue
- Direct Known Subclasses:
- BooleanInStmt, DateInStmt, DelegateInStmt, NumberInStmt, StringInStmt
public abstract class GenericInStmt
- extends NotValue<GenericInStmt>
- implements BooleanValue
- See Also:
- Serialized Form
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 |
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, getFilter, getOptimizedValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset, setExpressionContext |
GenericInStmt
protected GenericInStmt(GenericValue arg0,
boolean not,
List<GenericValue> inList)
evaluateInList
protected abstract boolean evaluateInList(Object object)
throws HBqlException,
ResultMissingColumnException,
NullColumnValueException
- Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException
getInList
protected List<GenericValue> getInList()
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
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
asString
public String asString()
- Specified by:
asString
in interface GenericValue
- Overrides:
asString
in class GenericExpression
validateArgsForInFilter
protected void validateArgsForInFilter()
throws InvalidServerFilterException
- Throws:
InvalidServerFilterException
Copyright © 2011. All Rights Reserved.