|
static RelDataType | transformType (SqlOperatorBinding binding, RelDataType type) |
|
Definition at line 33 of file SqlLeadLag.java.
com.mapd.parser.extension.ddl.SqlLeadLag.SqlLeadLag |
( |
String |
functionName, |
|
|
SqlKind |
kind |
|
) |
| |
|
inline |
boolean com.mapd.parser.extension.ddl.SqlLeadLag.allowsFraming |
( |
| ) |
|
|
inline |
boolean com.mapd.parser.extension.ddl.SqlLeadLag.allowsNullTreatment |
( |
| ) |
|
|
inline |
static RelDataType com.mapd.parser.extension.ddl.SqlLeadLag.transformType |
( |
SqlOperatorBinding |
binding, |
|
|
RelDataType |
type |
|
) |
| |
|
inlinestaticprivate |
Definition at line 66 of file SqlLeadLag.java.
References shared.transform().
68 binding.getOperandCount() < 3 || binding.getOperandType(2).isNullable()
69 ? SqlTypeTransforms.FORCE_NULLABLE
70 : SqlTypeTransforms.TO_NOT_NULLABLE;
71 return transform.transformType(binding,
type);
OUTPUT transform(INPUT const &input, FUNC const &func)
final SqlSingleOperandTypeChecker com.mapd.parser.extension.ddl.SqlLeadLag.OPERAND_TYPES |
|
staticprivate |
Initial value:=
OperandTypes.or(OperandTypes.ANY,
OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.NUMERIC),
OperandTypes.and(OperandTypes.family(SqlTypeFamily.ANY,
SqlTypeFamily.NUMERIC,
SqlTypeFamily.ANY),
new SameOperandTypeChecker(3) {
@Override
protected List<Integer> getOperandList(int operandCount) {
return ImmutableList.of(0, 2);
}
}))
Definition at line 34 of file SqlLeadLag.java.
Referenced by com.mapd.parser.extension.ddl.SqlLeadLag.SqlLeadLag().
final SqlReturnTypeInference com.mapd.parser.extension.ddl.SqlLeadLag.RETURN_TYPE |
|
staticprivate |
The documentation for this class was generated from the following file:
- /home/jenkins-slave/workspace/core-os-doxygen/java/calcite/src/main/java/com/mapd/parser/extension/ddl/SqlLeadLag.java