class SqlTimestampAddFunction extends SqlFunction
TIMESTAMPADD function, which adds an interval to a
timestamp.
The SQL syntax is
TIMESTAMPADD(timestamp interval, quantity,
timestamp)
The interval time unit can one of the following literals:
Returns modified timestamp.
| Modifier and Type | Field and Description |
|---|---|
private static SqlReturnTypeInference |
RETURN_TYPE_INFERENCE |
kind, MDX_PRECEDENCE, NL| Constructor and Description |
|---|
SqlTimestampAddFunction()
Creates a SqlTimestampAddFunction.
|
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsprivate static final SqlReturnTypeInference RETURN_TYPE_INFERENCE
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.