Package io.trino.operator
Class DriverFactory
java.lang.Object
io.trino.operator.DriverFactory
-
Constructor Summary
ConstructorsConstructorDescriptionDriverFactory(int pipelineId, boolean inputDriver, boolean outputDriver, List<OperatorFactory> operatorFactories, OptionalInt driverInstances) -
Method Summary
Modifier and TypeMethodDescriptioncreateDriver(DriverContext driverContext) intreturn the sourceId of this DriverFactory.booleanbooleanbooleanvoid
-
Constructor Details
-
DriverFactory
public DriverFactory(int pipelineId, boolean inputDriver, boolean outputDriver, List<OperatorFactory> operatorFactories, OptionalInt driverInstances)
-
-
Method Details
-
getPipelineId
public int getPipelineId() -
isInputDriver
public boolean isInputDriver() -
isOutputDriver
public boolean isOutputDriver() -
getSourceId
return the sourceId of this DriverFactory. A DriverFactory doesn't always have source node. For example, ValuesNode is not a source node. -
getDriverInstances
-
getOperatorFactories
-
createDriver
-
noMoreDrivers
public void noMoreDrivers() -
isNoMoreDrivers
public boolean isNoMoreDrivers()
-