public class STPartition extends BaseOperation
channel, op| Constructor and Description |
|---|
STPartition(Communicator comm,
IWorkerController controller,
LogicalPlanBuilder builder,
DestinationSelector selector,
java.util.List<java.lang.Integer> indexes,
Schema schema,
ArrowCallback receiver,
RootAllocator allocator)
Create the base operation
|
STPartition(Communicator comm,
IWorkerController controller,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
LogicalPlan plan,
DestinationSelector selector,
java.util.List<java.lang.Integer> indexes,
Schema schema,
ArrowCallback receiver,
RootAllocator allocator)
Create the base operation
|
STPartition(Communicator comm,
IWorkerController controller,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
LogicalPlan plan,
DestinationSelector selector,
java.util.List<java.lang.Integer> indexes,
Schema schema,
ArrowCallback receiver,
RootAllocator allocator,
java.lang.String name)
Create the base operation
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish(int src)
Indicate the end of the communication
|
boolean |
insert(int source,
Table t) |
boolean |
isComplete()
Weather we have messages pending
|
boolean |
progress()
Progress the operation, if not called, messages will not be processed
|
boolean |
progressChannel()
Progress the channel and the operation
|
void |
reset()
Clean the operation, this doesn't close it
|
boolean |
sendBarrier(int src,
byte[] barrierId) |
void |
waitForCompletion()
Wait for the operation to complete
|
public STPartition(Communicator comm, IWorkerController controller, LogicalPlanBuilder builder, DestinationSelector selector, java.util.List<java.lang.Integer> indexes, Schema schema, ArrowCallback receiver, RootAllocator allocator)
public STPartition(Communicator comm, IWorkerController controller, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, LogicalPlan plan, DestinationSelector selector, java.util.List<java.lang.Integer> indexes, Schema schema, ArrowCallback receiver, RootAllocator allocator)
public STPartition(Communicator comm, IWorkerController controller, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, LogicalPlan plan, DestinationSelector selector, java.util.List<java.lang.Integer> indexes, Schema schema, ArrowCallback receiver, RootAllocator allocator, java.lang.String name)
public boolean insert(int source,
Table t)
public boolean isComplete()
BaseOperationisComplete in class BaseOperationpublic void finish(int src)
BaseOperationfinish in class BaseOperationsrc - the source that is endingpublic boolean progress()
BaseOperationprogress in class BaseOperationpublic void close()
close in class BaseOperationpublic void reset()
BaseOperationreset in class BaseOperationpublic boolean progressChannel()
BaseOperationprogressChannel in class BaseOperationpublic boolean sendBarrier(int src,
byte[] barrierId)
sendBarrier in class BaseOperationpublic void waitForCompletion()
BaseOperationwaitForCompletion in class BaseOperation