本文整理汇总了Java中org.apache.calcite.sql.type.SqlOperandCountRanges类的典型用法代码示例。如果您正苦于以下问题:Java SqlOperandCountRanges类的具体用法?Java SqlOperandCountRanges怎么用?Java SqlOperandCountRanges使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SqlOperandCountRanges类属于org.apache.calcite.sql.type包,在下文中一共展示了SqlOperandCountRanges类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SqlUnnestOperator
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlUnnestOperator(boolean withOrdinality) {
super(
"UNNEST",
SqlKind.UNNEST,
200,
true,
null,
null,
OperandTypes.repeat(SqlOperandCountRanges.from(1),
OperandTypes.SCALAR_OR_RECORD_COLLECTION_OR_MAP));
this.withOrdinality = withOrdinality;
}
示例2: Checker
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
private Checker(int min, int max) {
range = SqlOperandCountRanges.between(min, max);
}
示例3: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.between(1, 2);
}
示例4: Checker
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
private Checker(int size) {
range = SqlOperandCountRanges.of(size);
}
示例5: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.of(2);
}
示例6: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.between(2, 3);
}
示例7: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.of(1);
}
示例8: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.any();
}
示例9: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
@Override public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.of(2);
}
示例10: getOperandCountRange
import org.apache.calcite.sql.type.SqlOperandCountRanges; //导入依赖的package包/类
public SqlOperandCountRange getOperandCountRange() {
return SqlOperandCountRanges.between(1, 2);
}