public class IngresVectorwiseLoaderMeta extends BaseStepMeta implements StepMetaInterface, ProvidesDatabaseConnectionInformation
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
IngresVectorwiseLoaderMeta()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
allocate(int nrRows) |
Object |
clone()
Make an exact copy of this step, make sure to explicitly copy Collections etc.
|
String |
getBufferSize() |
DatabaseMeta |
getDatabaseMeta()
Returns the database meta for this step
|
String |
getDelimiter() |
String |
getEncoding() |
String |
getErrorFileName() |
String[] |
getFieldDatabase() |
String[] |
getFieldFormat() |
String[] |
getFieldStream() |
String |
getFifoFileName() |
String |
getMaxNrErrors() |
String |
getMissingDatabaseConnectionInformationMessage()
Provides a way for this object to return a custom message when database connection information is incomplete or
missing.
|
String |
getSchemaName()
Returns the schema name for this step.
|
String |
getSqlPath() |
SQLStatement |
getSQLStatements(TransMeta transMeta,
StepMeta stepMeta,
RowMetaInterface prev,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Standard method to return an SQLStatement object with SQL statements that the step needs in order to work
correctly.
|
StepInterface |
getStep(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int cnr,
TransMeta tr,
Trans trans)
Get the executing step, needed by Trans to launch a step.
|
StepDataInterface |
getStepData()
Get a new instance of the appropriate data class.
|
String |
getTableName()
Returns the table name for this step
|
DatabaseMeta[] |
getUsedDatabaseConnections()
This method returns all the database connections that are used by the step.
|
String |
getXML()
Produces the XML string that describes this step's information.
|
boolean |
isContinueOnError() |
boolean |
isEscapingSpecialCharacters() |
boolean |
isRejectErrors() |
boolean |
isTruncatingTable() |
boolean |
isUseAuthentication() |
boolean |
isUseDynamicVNode() |
boolean |
isUseSSV() |
boolean |
isUseStandardConversion() |
boolean |
isUsingVwload() |
void |
loadXML(Node stepnode,
List<DatabaseMeta> databases,
org.pentaho.metastore.api.IMetaStore metaStore)
Load the values for this step from an XML Node
|
void |
readRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_step,
List<DatabaseMeta> databases)
Read the steps information from a Kettle repository
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_transformation,
ObjectId id_step)
Save the steps data into a Kettle repository
|
void |
setBufferSize(String bufferSize) |
void |
setContinueOnError(boolean continueOnError) |
void |
setDatabaseMeta(DatabaseMeta databaseMeta) |
void |
setDefault()
Set default values
|
void |
setDelimiter(String delimiter) |
void |
setEncoding(String encoding) |
void |
setErrorFileName(String errorFileName) |
void |
setEscapingSpecialCharacters(boolean escapingSpecialCharacters) |
void |
setFieldDatabase(String[] fieldDatabase) |
void |
setFieldFormat(String[] fieldFormat) |
void |
setFieldStream(String[] fieldStream) |
void |
setFifoFileName(String fifoFileName) |
void |
setMaxNrErrors(String maxNrErrors) |
void |
setRejectErrors(boolean rejectErrors) |
void |
setSqlPath(String sqlPath) |
void |
setTablename(String tablename) |
void |
setTruncatingTable(boolean truncatingTable) |
void |
setUseAuthentication(boolean useAuthentication) |
void |
setUseDynamicVNode(boolean createDynamicVNode) |
void |
setUseSSV(boolean useSSV) |
void |
setUseStandardConversion(boolean useStandardConversion) |
void |
setUsingVwload(boolean usingVwload) |
analyseImpact, analyseImpact, cancelQueries, check, check, check, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getResourceDependencies, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedLibraries, getXmlCode, handleStreamSelection, hasChanged, hasRepositoryReferences, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, loadReferencedObject, loadStepAttributes, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, readRep, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setChanged, setParentStepMeta, supportsErrorHandling
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, check, cleanAfterHopFromRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setParentStepMeta, supportsErrorHandling
public IngresVectorwiseLoaderMeta()
public StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr, Trans trans)
getStep
in interface StepMetaInterface
stepMeta
- The step infostepDataInterface
- the step data interface linked to this step. Here the step can store temporary data, database connections,
etc.cnr
- The copy nr to gettr
- The transformation infotrans
- The launching transformationStepMetaInterface.getStep(org.pentaho.di.trans.step.StepMeta,
org.pentaho.di.trans.step.StepDataInterface, int, org.pentaho.di.trans.TransMeta, org.pentaho.di.trans.Trans)
public StepDataInterface getStepData()
getStepData
in interface StepMetaInterface
StepMetaInterface.getStepData()
public Object clone()
clone
in interface StepMetaInterface
clone
in class BaseStepMeta
BaseStepMeta.clone()
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public boolean isRejectErrors()
public void setRejectErrors(boolean rejectErrors)
rejectErrors
- the rejectErrors to set.public void allocate(int nrRows)
public String getXML()
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
public void loadXML(Node stepnode, List<DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleXMLException
StepMetaInterface
loadXML
in interface StepMetaInterface
loadXML
in class BaseStepMeta
stepnode
- the Node to get the info fromdatabases
- The available list of databases to reference tometaStore
- the metastore to optionally load external reference metadata fromKettleXMLException
- When an unexpected XML error occurred. (malformed etc.)public void readRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases) throws KettleException
StepMetaInterface
readRep
in interface StepMetaInterface
readRep
in class BaseStepMeta
rep
- The repository to read frommetaStore
- The MetaStore to read external information fromid_step
- The step IDdatabases
- The databases to referenceKettleException
- When an unexpected error occurred (database, network, etc)public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step) throws KettleException
StepMetaInterface
saveRep
in interface StepMetaInterface
saveRep
in class BaseStepMeta
rep
- The Kettle repository to save tometaStore
- the metaStore to optionally write toid_transformation
- The transformation IDid_step
- The step IDKettleException
- When an unexpected error occurred (database, network, etc)public DatabaseMeta getDatabaseMeta()
ProvidesDatabaseConnectionInformation
getDatabaseMeta
in interface ProvidesDatabaseConnectionInformation
public void setDatabaseMeta(DatabaseMeta databaseMeta)
databaseMeta
- the databaseMeta to setpublic String getTableName()
ProvidesDatabaseConnectionInformation
getTableName
in interface ProvidesDatabaseConnectionInformation
public void setTablename(String tablename)
tablename
- the tablename to setpublic String[] getFieldStream()
public void setFieldStream(String[] fieldStream)
fieldStream
- the fieldStream to setpublic String[] getFieldDatabase()
public void setFieldDatabase(String[] fieldDatabase)
fieldDatabase
- the fieldDatabase to setpublic String[] getFieldFormat()
public void setFieldFormat(String[] fieldFormat)
fieldFormat
- the fieldFormat to setpublic SQLStatement getSQLStatements(TransMeta transMeta, StepMeta stepMeta, RowMetaInterface prev, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
BaseStepMeta
getSQLStatements
in interface StepMetaInterface
getSQLStatements
in class BaseStepMeta
transMeta
- TransInfo object containing the complete transformationstepMeta
- StepMeta object containing the complete stepprev
- Row containing meta-data for the input fields (no data)repository
- the repository to use to load Kettle metadata objects impacting the output fieldsmetaStore
- the MetaStore to use to load additional external data or metadata impacting the output fieldspublic String getFifoFileName()
public void setFifoFileName(String fifoFileName)
fifoFileName
- the fifoFileName to setpublic String getSqlPath()
public void setSqlPath(String sqlPath)
sqlPath
- the sqlPath to setpublic String getEncoding()
public void setEncoding(String encoding)
encoding
- the encoding to setpublic String getDelimiter()
public void setDelimiter(String delimiter)
delimiter
- the delimiter to setpublic String getErrorFileName()
public void setErrorFileName(String errorFileName)
public boolean isContinueOnError()
public void setContinueOnError(boolean continueOnError)
public boolean isUseStandardConversion()
public void setUseStandardConversion(boolean useStandardConversion)
public boolean isUseDynamicVNode()
public void setUseDynamicVNode(boolean createDynamicVNode)
public boolean isUseSSV()
public void setUseSSV(boolean useSSV)
public boolean isEscapingSpecialCharacters()
public void setEscapingSpecialCharacters(boolean escapingSpecialCharacters)
escapingSpecialCharacters
- the escapingSpecialCharacters to setpublic String getBufferSize()
public void setBufferSize(String bufferSize)
bufferSize
- the bufferSize to setpublic boolean isUseAuthentication()
public void setUseAuthentication(boolean useAuthentication)
useAuthentication
- the useAuthentication to setpublic boolean isUsingVwload()
public void setUsingVwload(boolean usingVwload)
public boolean isTruncatingTable()
public void setTruncatingTable(boolean truncatingTable)
public String getMaxNrErrors()
public void setMaxNrErrors(String maxNrErrors)
public String getSchemaName()
ProvidesDatabaseConnectionInformation
getSchemaName
in interface ProvidesDatabaseConnectionInformation
public String getMissingDatabaseConnectionInformationMessage()
ProvidesDatabaseConnectionInformation
null
a default message will be displayed for missing information.getMissingDatabaseConnectionInformationMessage
in interface ProvidesDatabaseConnectionInformation
public DatabaseMeta[] getUsedDatabaseConnections()
BaseStepMeta
getUsedDatabaseConnections
in interface StepMetaInterface
getUsedDatabaseConnections
in class BaseStepMeta
Copyright © 2018 Hitachi Vantara. All rights reserved.