org.apache.expreval.expr.function
Class DateFunction
java.lang.Object
org.apache.expreval.expr.GenericExpression
org.apache.expreval.expr.function.GenericFunction
org.apache.expreval.expr.function.DateFunction
- All Implemented Interfaces:
- Serializable, DateValue, GenericValue
public class DateFunction
- extends GenericFunction
- implements DateValue
- See Also:
- Serialized Form
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, getFilter, getOptimizedValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset, setExpressionContext, validateTypes |
DateFunction
public DateFunction(GenericFunction.FunctionType functionType,
List<GenericValue> exprs)
DateFunction
public DateFunction(DateFunction.ConstantType constantType)
DateFunction
public DateFunction(DateFunction.IntervalType intervalType,
List<GenericValue> exprs)
getValue
public Long getValue(HConnectionImpl conn,
Object object)
throws HBqlException,
ResultMissingColumnException,
NullColumnValueException
- Specified by:
getValue
in interface DateValue
- Specified by:
getValue
in interface GenericValue
- Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException
getFunctionName
protected String getFunctionName()
- Overrides:
getFunctionName
in class GenericFunction
asString
public String asString()
- Specified by:
asString
in interface GenericValue
- Overrides:
asString
in class GenericFunction
Copyright © 2011. All Rights Reserved.