use of org.pentaho.di.trans.steps.tableinput.TableInput in project pdi-dataservice-server-plugin by pentaho.
the class TableInputParameterGeneration method getSQL.
private String getSQL(StepInterface stepInterface) throws PushDownOptimizationException {
TableInput tableInput;
if (stepInterface instanceof TableInput) {
tableInput = (TableInput) stepInterface;
} else {
throw new PushDownOptimizationException("Unable to push down to push down to type " + stepInterface.getClass());
}
final TableInputMeta tableInputMeta = (TableInputMeta) tableInput.getStepMeta().getStepMetaInterface();
return tableInputMeta.getSQL();
}
Aggregations