Package org.apache.wayang.jdbc.operators
Interface JdbcExecutionOperator
-
- All Superinterfaces:
ActualOperator,ElementaryOperator,ExecutionOperator,Operator
- All Known Subinterfaces:
GenericJdbcExecutionOperator,PostgresExecutionOperator
- All Known Implementing Classes:
GenericJdbcFilterOperator,GenericJdbcProjectionOperator,GenericJdbcTableSource,JdbcFilterOperator,JdbcJoinOperator,JdbcProjectionOperator,JdbcTableSource,PostgresFilterOperator,PostgresJoinOperator,PostgresProjectionOperator,PostgresTableSource,Sqlite3FilterOperator,Sqlite3ProjectionOperator,Sqlite3TableSource
public interface JdbcExecutionOperator extends ExecutionOperator
-
-
Field Summary
-
Fields inherited from interface org.apache.wayang.core.plan.wayangplan.Operator
FIRST_EPOCH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringcreateSqlClause(java.sql.Connection connection, FunctionCompiler compiler)Creates a SQL clause for this instance.JdbcPlatformTemplategetPlatform()default java.util.List<ChannelDescriptor>getSupportedInputChannels(int index)default java.util.List<ChannelDescriptor>getSupportedOutputChannels(int index)Display the supportedChannels for a certainOutputSlot.-
Methods inherited from interface org.apache.wayang.core.plan.wayangplan.ActualOperator
accept
-
Methods inherited from interface org.apache.wayang.core.plan.wayangplan.ElementaryOperator
createCardinalityEstimator, getCardinalityEstimator, isAuxiliary, setAuxiliary, setCardinalityEstimator
-
Methods inherited from interface org.apache.wayang.core.plan.wayangplan.ExecutionOperator
copy, createLoadProfileEstimator, createOutputChannelInstances, getLimitBaseKey, getLoadProfileEstimatorConfigurationKey, getLoadProfileEstimatorConfigurationKeys, getOriginal, getOutputChannelDescriptor, isFiltered
-
Methods inherited from interface org.apache.wayang.core.plan.wayangplan.Operator
addBroadcastInput, addTargetPlatform, broadcastTo, broadcastTo, collectMappedInputSlots, collectMappedOutputSlots, connectTo, connectTo, getAllInputs, getAllOutputs, getCardinalityPusher, getContainer, getEffectiveOccupant, getEffectiveOccupant, getEpoch, getEstimationContextProperties, getForwards, getInnermostLoop, getInput, getInput, getLoopStack, getName, getNumBroadcastInputs, getNumInputs, getNumOutputs, getNumRegularInputs, getOuterInputSlot, getOutermostInputSlot, getOutermostOutputSlots, getOutput, getOutput, getParent, getTargetPlatforms, isAlternative, isElementary, isExecutionOperator, isFeedbackInput, isFeedforwardOutput, isLoopHead, isLoopSubplan, isOwnerOf, isReading, isSink, isSource, isSubplan, isSupportingBroadcastInputs, isUnconnected, propagateInputCardinality, propagateOutputCardinality, propagateOutputCardinality, setContainer, setEpoch, setInput, setName, setOutput
-
-
-
-
Method Detail
-
createSqlClause
java.lang.String createSqlClause(java.sql.Connection connection, FunctionCompiler compiler)Creates a SQL clause for this instance. ForTableSources it returns an identifier for the table usable in aFROMclause. ForJdbcProjectionOperators it returns a list usable in aSELECTclause. ForJdbcFilterOperators it creates a condition usable in aWHEREclause. ForJdbcJoinOperatorit returns a INNER JOIN statement usable in aJOINclause. Also, these different clauses should be compatible for connectedJdbcExecutionOperators.- Parameters:
compiler- used to create SQL code- Returns:
- the SQL clause
-
getPlatform
JdbcPlatformTemplate getPlatform()
- Specified by:
getPlatformin interfaceExecutionOperator- Returns:
- the platform that can run this operator
-
getSupportedInputChannels
default java.util.List<ChannelDescriptor> getSupportedInputChannels(int index)
Description copied from interface:ExecutionOperator- Specified by:
getSupportedInputChannelsin interfaceExecutionOperator- Parameters:
index- the index of theInputSlot- Returns:
- an
ListofChannels'Classes, ordered by their preference of use
-
getSupportedOutputChannels
default java.util.List<ChannelDescriptor> getSupportedOutputChannels(int index)
Description copied from interface:ExecutionOperatorDisplay the supportedChannels for a certainOutputSlot.- Specified by:
getSupportedOutputChannelsin interfaceExecutionOperator- Parameters:
index- the index of theOutputSlot- Returns:
- an
ListofChannels'Classes, ordered by their preference of use - See Also:
ExecutionOperator.getOutputChannelDescriptor(int)
-
-