org.apache.calcite.linq4j.Enumerable.iterator()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.apache.calcite.linq4j.Enumerable.iterator()方法的一些代码示例,展示了Enumerable.iterator()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Enumerable.iterator()方法的具体详情如下:
包路径:org.apache.calcite.linq4j.Enumerable
类名称:Enumerable
方法名:iterator

Enumerable.iterator介绍

暂无

代码示例

代码示例来源:origin: org.apache.calcite/calcite-linq4j

public Iterator<T> iterator() {
 return enumerable.iterator();
}

代码示例来源:origin: qubole/quark

).iterator();

代码示例来源:origin: Qihoo360/Quicksql

public Iterator<Object> iterator() {
  final DataContext dataContext =
    Schemas.createDataContext(connection,
      calciteSignature.rootSchema.plus());
  return calciteSignature.enumerable(dataContext).iterator();
 }
});

代码示例来源:origin: org.apache.calcite/calcite-core

public Iterator<Object> iterator() {
  final DataContext dataContext =
    Schemas.createDataContext(connection,
      calciteSignature.rootSchema.plus());
  return calciteSignature.enumerable(dataContext).iterator();
 }
});

代码示例来源:origin: org.apache.calcite/calcite-core

/**
 * Returns the rel nodes in this rel subset.  All rels must have the same
 * traits and are logically equivalent.
 *
 * @return all the rels in the subset
 */
public Iterable<RelNode> getRels() {
 return () -> Linq4j.asEnumerable(set.rels)
   .where(v1 -> v1.getTraitSet().satisfies(traitSet))
   .iterator();
}

代码示例来源:origin: Qihoo360/Quicksql

/**
 * Returns the rel nodes in this rel subset.  All rels must have the same
 * traits and are logically equivalent.
 *
 * @return all the rels in the subset
 */
public Iterable<RelNode> getRels() {
 return () -> Linq4j.asEnumerable(set.rels)
   .where(v1 -> v1.getTraitSet().satisfies(traitSet))
   .iterator();
}

相关文章