public class KettleDatabaseRepositoryStepDelegate extends KettleDatabaseRepositoryBaseDelegate
| Modifier and Type | Field and Description |
|---|---|
static String |
STEP_ATTRIBUTE_PREFIX |
| Constructor and Description |
|---|
KettleDatabaseRepositoryStepDelegate(KettleDatabaseRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNrStepAttributes(org.pentaho.di.repository.ObjectId id_step) |
int |
getNrSteps(org.pentaho.di.repository.ObjectId id_transformation) |
org.pentaho.di.core.RowMetaAndData |
getStep(org.pentaho.di.repository.ObjectId id_step) |
org.pentaho.di.core.RowMetaAndData |
getStepAttribute(org.pentaho.di.repository.ObjectId id_step_attribute) |
org.pentaho.di.repository.ObjectId |
getStepID(String name,
org.pentaho.di.repository.ObjectId id_transformation) |
org.pentaho.di.core.RowMetaAndData |
getStepType(org.pentaho.di.repository.ObjectId id_step_type) |
String |
getStepTypeCode(org.pentaho.di.repository.ObjectId id_database_type) |
org.pentaho.di.repository.ObjectId |
getStepTypeID(String code) |
org.pentaho.di.repository.ObjectId |
insertStep(org.pentaho.di.repository.ObjectId id_transformation,
String name,
String description,
String steptype,
boolean distribute,
long copies,
long gui_location_x,
long gui_location_y,
boolean gui_draw,
String copiesString) |
StepErrorMeta |
loadStepErrorMeta(org.pentaho.di.core.variables.VariableSpace variables,
StepMeta stepMeta,
List<StepMeta> steps) |
StepMeta |
loadStepMeta(org.pentaho.di.repository.ObjectId stepId,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<PartitionSchema> partitionSchemas)
Create a new step by loading the metadata from the specified repository.
|
StepPartitioningMeta |
loadStepPartitioningMeta(org.pentaho.di.repository.ObjectId id_step) |
void |
saveStepErrorMeta(StepErrorMeta meta,
org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step) |
void |
saveStepMeta(StepMeta stepMeta,
org.pentaho.di.repository.ObjectId transformationId) |
void |
saveStepPartitioningMeta(StepPartitioningMeta meta,
org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step)
Saves partitioning properties in the repository for the given step.
|
quote, quoteTablepublic static final String STEP_ATTRIBUTE_PREFIX
public KettleDatabaseRepositoryStepDelegate(KettleDatabaseRepository repository)
public org.pentaho.di.repository.ObjectId getStepTypeID(String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getStepID(String name, org.pentaho.di.repository.ObjectId id_transformation) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic String getStepTypeCode(org.pentaho.di.repository.ObjectId id_database_type) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.core.RowMetaAndData getStep(org.pentaho.di.repository.ObjectId id_step)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.core.RowMetaAndData getStepType(org.pentaho.di.repository.ObjectId id_step_type)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.core.RowMetaAndData getStepAttribute(org.pentaho.di.repository.ObjectId id_step_attribute)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic StepMeta loadStepMeta(org.pentaho.di.repository.ObjectId stepId, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<PartitionSchema> partitionSchemas) throws org.pentaho.di.core.exception.KettleException
rep - stepId - databases - counters - partitionSchemas - org.pentaho.di.core.exception.KettleExceptionpublic void saveStepMeta(StepMeta stepMeta, org.pentaho.di.repository.ObjectId transformationId) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void saveStepErrorMeta(StepErrorMeta meta, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic StepErrorMeta loadStepErrorMeta(org.pentaho.di.core.variables.VariableSpace variables, StepMeta stepMeta, List<StepMeta> steps) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic StepPartitioningMeta loadStepPartitioningMeta(org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void saveStepPartitioningMeta(StepPartitioningMeta meta, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
meta - the partitioning metadata to store.id_transformation - the ID of the transformationid_step - the ID of the steporg.pentaho.di.core.exception.KettleDatabaseException - In case anything goes wrongorg.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId insertStep(org.pentaho.di.repository.ObjectId id_transformation,
String name,
String description,
String steptype,
boolean distribute,
long copies,
long gui_location_x,
long gui_location_y,
boolean gui_draw,
String copiesString)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic int getNrSteps(org.pentaho.di.repository.ObjectId id_transformation)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic int getNrStepAttributes(org.pentaho.di.repository.ObjectId id_step)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException