public class DriverFactory extends Object
| Constructor and Description |
|---|
DriverFactory(int pipelineId,
boolean inputDriver,
boolean outputDriver,
List<OperatorFactory> operatorFactories,
OptionalInt driverInstances,
PipelineExecutionStrategy pipelineExecutionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
Driver |
createDriver(DriverContext driverContext) |
OptionalInt |
getDriverInstances() |
List<OperatorFactory> |
getOperatorFactories() |
PipelineExecutionStrategy |
getPipelineExecutionStrategy() |
int |
getPipelineId() |
Optional<PlanNodeId> |
getSourceId()
return the sourceId of this DriverFactory.
|
boolean |
isInputDriver() |
boolean |
isOutputDriver() |
void |
noMoreDrivers() |
void |
noMoreDrivers(Lifespan lifespan) |
public DriverFactory(int pipelineId,
boolean inputDriver,
boolean outputDriver,
List<OperatorFactory> operatorFactories,
OptionalInt driverInstances,
PipelineExecutionStrategy pipelineExecutionStrategy)
public int getPipelineId()
public boolean isInputDriver()
public boolean isOutputDriver()
public Optional<PlanNodeId> getSourceId()
public OptionalInt getDriverInstances()
public PipelineExecutionStrategy getPipelineExecutionStrategy()
public List<OperatorFactory> getOperatorFactories()
public Driver createDriver(DriverContext driverContext)
public void noMoreDrivers(Lifespan lifespan)
public void noMoreDrivers()
Copyright © 2012–2019. All rights reserved.