org.apache.expreval.expr.stringpattern
Class LikeStmt

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<GenericStringPatternStmt>
              extended by org.apache.expreval.expr.stringpattern.GenericStringPatternStmt
                  extended by org.apache.expreval.expr.stringpattern.LikeStmt
All Implemented Interfaces:
Serializable, BooleanValue, GenericValue

public class LikeStmt
extends GenericStringPatternStmt

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
LikeStmt(GenericValue arg0, boolean not, GenericValue arg1)
           
 
Method Summary
protected  String getFunctionName()
           
 Boolean getValue(HConnectionImpl conn, Object object)
           
 
Methods inherited from class org.apache.expreval.expr.stringpattern.GenericStringPatternStmt
asString
 
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, 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
 
Methods inherited from interface org.apache.expreval.expr.node.GenericValue
applyResultToAggregateValue, getFilter, getOptimizedValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset, setExpressionContext, validateTypes
 

Constructor Detail

LikeStmt

public LikeStmt(GenericValue arg0,
                boolean not,
                GenericValue arg1)
Method Detail

getFunctionName

protected String getFunctionName()
Specified by:
getFunctionName in class GenericStringPatternStmt

getValue

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


Copyright © 2011. All Rights Reserved.