org.apache.expreval.expr.instmt
Class DelegateInStmt

java.lang.Object
  extended by org.apache.expreval.expr.GenericExpression
      extended by org.apache.expreval.expr.DelegateStmt<T>
          extended by org.apache.expreval.expr.NotValue<GenericInStmt>
              extended by org.apache.expreval.expr.instmt.GenericInStmt
                  extended by org.apache.expreval.expr.instmt.DelegateInStmt
All Implemented Interfaces:
Serializable, BooleanValue, GenericValue

public class DelegateInStmt
extends GenericInStmt

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.expreval.expr.instmt.GenericInStmt
GenericInStmt.GenericInComparable<T>
 
Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
DelegateInStmt(GenericValue arg0, boolean not, List<GenericValue> inList)
           
 
Method Summary
protected  boolean evaluateInList(Object object)
           
 org.apache.hadoop.hbase.filter.Filter getFilter()
           
 GenericValue getOptimizedValue()
           
 Boolean getValue(HConnectionImpl conn, Object object)
           
 Class<? extends GenericValue> validateTypes(GenericValue parentExpr, boolean allowCollections)
           
 
Methods inherited from class org.apache.expreval.expr.instmt.GenericInStmt
asString, getInList, validateArgsForInFilter
 
Methods inherited from class org.apache.expreval.expr.NotValue
isNot, notAsString
 
Methods inherited from class org.apache.expreval.expr.DelegateStmt
getTypedExpr, setTypedExpr
 
Methods inherited from class org.apache.expreval.expr.GenericExpression
applyResultToAggregateValue, getConstantValue, getExprArg, getExpressionContext, 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
 
Methods inherited from interface org.apache.expreval.expr.node.GenericValue
applyResultToAggregateValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset, setExpressionContext
 

Constructor Detail

DelegateInStmt

public DelegateInStmt(GenericValue arg0,
                      boolean not,
                      List<GenericValue> inList)
Method Detail

validateTypes

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

evaluateInList

protected boolean evaluateInList(Object object)
                          throws HBqlException
Specified by:
evaluateInList in class GenericInStmt
Throws:
HBqlException

getOptimizedValue

public GenericValue getOptimizedValue()
                               throws HBqlException
Specified by:
getOptimizedValue in interface GenericValue
Overrides:
getOptimizedValue in class GenericExpression
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
Overrides:
getValue in class GenericInStmt
Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException

getFilter

public org.apache.hadoop.hbase.filter.Filter getFilter()
                                                throws HBqlException
Specified by:
getFilter in interface GenericValue
Overrides:
getFilter in class GenericExpression
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.