本文整理汇总了Java中org.apache.calcite.util.ImmutableNullableList.of方法的典型用法代码示例。如果您正苦于以下问题:Java ImmutableNullableList.of方法的具体用法?Java ImmutableNullableList.of怎么用?Java ImmutableNullableList.of使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.calcite.util.ImmutableNullableList
的用法示例。
在下文中一共展示了ImmutableNullableList.of方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: get
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
public DataSource get(String url, String driverClassName) {
// Get data source objects from a cache, so that we don't have to sniff
// out what kind of database they are quite as often.
final List<String> key =
ImmutableNullableList.of(url, driverClassName);
DataSource dataSource = cache.apply(key);
LOG.info("get DataSource:" + dataSource + ", " + url + " " + driverClassName);
return dataSource;
}
示例2: get
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
public DataSource get(String url, String driverClassName,
String username, String password) {
// Get data source objects from a cache, so that we don't have to sniff
// out what kind of database they are quite as often.
final List<String> key =
ImmutableNullableList.of(url, username, password, driverClassName);
return cache.getUnchecked(key);
}
示例3: collectOperandTypes
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
private List<RelDataType> collectOperandTypes(
SqlValidator validator,
SqlValidatorScope scope,
SqlCall call) {
List<RelDataType> argTypes =
SqlTypeUtil.deriveAndCollectTypes(
validator, scope, call.getOperandList());
return ImmutableNullableList.of(
argTypes.get(VALUE_OPERAND),
argTypes.get(LOWER_OPERAND),
argTypes.get(UPPER_OPERAND));
}
示例4: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override public List<SqlNode> getOperandList() {
return ImmutableNullableList.<SqlNode>of(table);
}
示例5: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(tblName, fieldList, location, properties,
query);
}
示例6: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(functionName, className);
}
示例7: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(tblName, fieldList, inputFormatClass,
outputFormatClass, location, properties,
query);
}
示例8: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of((SqlNode) identifier);
}
示例9: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(likePattern);
}
示例10: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(targetColumnList,
sourceExpressionList, identifier);
}
示例11: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(name, columnList);
}
示例12: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(name, expression);
}
示例13: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(name, columnList, query);
}
示例14: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override public List<SqlNode> getOperandList() {
return ImmutableNullableList.<SqlNode>of(name);
}
示例15: getOperandList
import org.apache.calcite.util.ImmutableNullableList; //导入方法依赖的package包/类
@Override public List<SqlNode> getOperandList() {
return ImmutableNullableList.of(tableRef, pattern, strictStart, strictEnd,
patternDefList, measureList, after, subsetList, partitionList, orderList);
}