org.apache.expreval.expr.casestmt
Class StringCase

java.lang.Object
  extended by org.apache.expreval.expr.GenericExpression
      extended by org.apache.expreval.expr.DelegateStmt<GenericCase>
          extended by org.apache.expreval.expr.casestmt.GenericCase
              extended by org.apache.expreval.expr.casestmt.StringCase
All Implemented Interfaces:
Serializable, GenericValue, StringValue

public class StringCase
extends GenericCase
implements StringValue

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
StringCase(List<GenericCaseWhen> whenExprList, GenericCaseElse elseExpr)
           
 
Method Summary
 String getValue(HConnectionImpl conn, Object object)
           
 
Methods inherited from class org.apache.expreval.expr.casestmt.GenericCase
asString, getElseExpr, getWhenExprList, reset, setElseExpr
 
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, 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, asString, getFilter, getOptimizedValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset, setExpressionContext, validateTypes
 

Constructor Detail

StringCase

public StringCase(List<GenericCaseWhen> whenExprList,
                  GenericCaseElse elseExpr)
Method Detail

getValue

public String getValue(HConnectionImpl conn,
                       Object object)
                throws HBqlException,
                       ResultMissingColumnException,
                       NullColumnValueException
Specified by:
getValue in interface GenericValue
Specified by:
getValue in interface StringValue
Overrides:
getValue in class GenericCase
Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException


Copyright © 2011. All Rights Reserved.