Package org.apache.calcite.adapter.os
Class Processes.ProcessLinesEnumerator
- java.lang.Object
-
- org.apache.calcite.linq4j.DefaultEnumerable<T>
-
- org.apache.calcite.linq4j.AbstractEnumerable<java.lang.String>
-
- org.apache.calcite.adapter.os.Processes.ProcessLinesEnumerator
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
,Enumerable<java.lang.String>
,ExtendedEnumerable<java.lang.String>
,ExtendedOrderedEnumerable<java.lang.String>
,OrderedEnumerable<java.lang.String>
,RawEnumerable<java.lang.String>
- Enclosing class:
- Processes
private static class Processes.ProcessLinesEnumerator extends AbstractEnumerable<java.lang.String>
Enumerator that executes a process and returns each line as an element.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Supplier<java.lang.Process>
processSupplier
-
Constructor Summary
Constructors Constructor Description ProcessLinesEnumerator(java.util.function.Supplier<java.lang.Process> processSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumerator<java.lang.String>
enumerator()
Returns an enumerator that iterates through a collection.-
Methods inherited from class org.apache.calcite.linq4j.AbstractEnumerable
iterator
-
Methods inherited from class org.apache.calcite.linq4j.DefaultEnumerable
aggregate, aggregate, aggregate, all, any, any, asEnumerable, asOrderedQueryable, asQueryable, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, correlateJoin, count, count, createOrderedEnumerable, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, first, first, firstOrDefault, firstOrDefault, foreach, getThis, getThisOrdered, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, intersect, intersect, into, join, join, join, last, last, lastOrDefault, lastOrDefault, longCount, longCount, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, ofType, orderBy, orderBy, orderByDescending, orderByDescending, removeAll, reverse, select, select, selectMany, selectMany, selectMany, selectMany, sequenceEqual, sequenceEqual, single, single, singleOrDefault, singleOrDefault, skip, skipWhile, skipWhile, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, thenBy, thenBy, thenByDescending, thenByDescending, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zip
-
-
-
-
Method Detail
-
enumerator
public Enumerator<java.lang.String> enumerator()
Description copied from interface:RawEnumerable
Returns an enumerator that iterates through a collection.
-
-