本文整理汇总了Java中org.apache.calcite.sql.type.OperandTypes.NILADIC属性的典型用法代码示例。如果您正苦于以下问题:Java OperandTypes.NILADIC属性的具体用法?Java OperandTypes.NILADIC怎么用?Java OperandTypes.NILADIC使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.apache.calcite.sql.type.OperandTypes
的用法示例。
在下文中一共展示了OperandTypes.NILADIC属性的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SqlCurrentDateFunction
public SqlCurrentDateFunction() {
super(
"CURRENT_DATE",
SqlKind.OTHER_FUNCTION,
ReturnTypes.DATE,
null,
OperandTypes.NILADIC,
SqlFunctionCategory.TIMEDATE);
}
示例2: SqlRankFunction
public SqlRankFunction(SqlKind kind, SqlReturnTypeInference returnTypes,
boolean requiresOrder) {
super(kind.name(), null, kind, returnTypes, null,
OperandTypes.NILADIC, SqlFunctionCategory.NUMERIC, requiresOrder,
true);
}
示例3: SqlGroupIdFunction
SqlGroupIdFunction() {
super("GROUP_ID", SqlKind.GROUP_ID, ReturnTypes.BIGINT, null,
OperandTypes.NILADIC, SqlFunctionCategory.SYSTEM);
}
示例4: SqlDefaultOperator
SqlDefaultOperator() {
super("DEFAULT", SqlKind.DEFAULT, 100, true,
ReturnTypes.explicit(SqlTypeName.ANY), InferTypes.RETURN_TYPE,
OperandTypes.NILADIC);
}
示例5: SqlBaseContextVariable
/** Creates a SqlBaseContextVariable. */
protected SqlBaseContextVariable(String name,
SqlReturnTypeInference returnType, SqlFunctionCategory category) {
super(name, SqlKind.OTHER_FUNCTION, returnType, null, OperandTypes.NILADIC,
category);
}