private static class Interpreter.DuplicatingSink extends Object implements Sink
Sink using a ArrayDeque.| Modifier and Type | Field and Description |
|---|---|
private List<ArrayDeque<Row>> |
queues |
| Modifier | Constructor and Description |
|---|---|
private |
DuplicatingSink(List<ArrayDeque<Row>> queues) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
send(Row row) |
void |
setSourceEnumerable(Enumerable<Row> enumerable)
This method is temporary.
|
private List<ArrayDeque<Row>> queues
private DuplicatingSink(List<ArrayDeque<Row>> queues)
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.