private static class Interpreter.EnumeratorSource extends java.lang.Object implements Source
Source
that is just backed by an Enumerator
. The Enumerator
is closed
when it is finished or by calling close()
.Modifier and Type | Field and Description |
---|---|
private Enumerator<Row> |
enumerator |
Constructor and Description |
---|
EnumeratorSource(Enumerator<Row> enumerator) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Row |
receive()
Reads a row.
|
private final Enumerator<Row> enumerator
EnumeratorSource(Enumerator<Row> enumerator)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.