private static class Interpreter.ListSink extends Object implements Sink
Sink using a ArrayDeque.| Modifier and Type | Field and Description |
|---|---|
(package private) ArrayDeque<Row> |
list |
| Modifier | Constructor and Description |
|---|---|
private |
ListSink(ArrayDeque<Row> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
send(Row row) |
void |
setSourceEnumerable(Enumerable<Row> enumerable)
This method is temporary.
|
final ArrayDeque<Row> list
private ListSink(ArrayDeque<Row> list)
public void send(Row row) throws InterruptedException
send in interface SinkInterruptedExceptionpublic void end()
throws InterruptedException
end in interface SinkInterruptedExceptionpublic void setSourceEnumerable(Enumerable<Row> enumerable) throws InterruptedException
SinksetSourceEnumerable in interface SinkInterruptedExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.