Class ActionMysqlBulkFile
- java.lang.Object
-
- org.apache.hop.workflow.action.ActionBase
-
- org.apache.hop.workflow.actions.mysqlbulkfile.ActionMysqlBulkFile
-
- All Implemented Interfaces:
Cloneable,IAttributes,ICheckResultSource,IExtensionData,IHasLogChannel,ILoggingObject,IVariables,org.apache.hop.resource.IResourceHolder,org.apache.hop.workflow.action.IAction
@Action(id="MYSQL_BULK_FILE", name="i18n::ActionMysqlBulkFile.Name", description="i18n::ActionMysqlBulkFile.Description", image="MysqlBulkFile.svg", categoryDescription="i18n:org.apache.hop.workflow:ActionCategory.Category.BulkLoading", keywords="i18n::ActionMysqlBulkFile.keyword", documentationUrl="/workflow/actions/mysqlbulkfile.html") public class ActionMysqlBulkFile extends org.apache.hop.workflow.action.ActionBase implements Cloneable, org.apache.hop.workflow.action.IActionThis defines an MYSQL Bulk file action.
-
-
Field Summary
Fields Modifier and Type Field Description intifFileExistsintoutDumpValue
-
Constructor Summary
Constructors Constructor Description ActionMysqlBulkFile()ActionMysqlBulkFile(String n)
-
Method Summary
-
Methods inherited from class org.apache.hop.workflow.action.ActionBase
clear, copyFrom, equals, exportResources, getAttribute, getAttributes, getAttributesMap, getContainerId, getDescription, getDialogClassName, getEntryTransformSetVariable, getEntryTransformSetVariablesMap, getExtensionDataMap, getLogChannel, getLogChannelId, getLogLevel, getMetadataProvider, getName, getObjectCopy, getObjectName, getObjectType, getParent, getParentVariables, getParentWorkflow, getParentWorkflowMeta, getPluginId, getReferencedObjectDescriptions, getRegistrationDate, getSqlStatements, getTypeDesc, getTypeId, getVariable, getVariable, getVariableBoolean, getVariableNames, getVariables, hasChanged, hashCode, initializeFrom, isBasic, isDebug, isDetailed, isForcingSeparateLogging, isGatheringMetrics, isPipeline, isReferencedObjectEnabled, isRowlevel, isStart, isWorkflow, loadReferencedObject, loadXml, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, resetErrorsBeforeExecution, resolve, resolve, resolve, setAttribute, setAttributes, setAttributesMap, setChanged, setChanged, setContainerObjectId, setDescription, setEntryTransformSetVariable, setForcingSeparateLogging, setGatheringMetrics, setLogLevel, setMetadataProvider, setName, setParentVariables, setParentWorkflow, setParentWorkflowMeta, setPluginId, setVariable, setVariables, shareWith, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.hop.workflow.action.IAction
clear, exportResources, getDescription, getDialogClassName, getLogChannel, getName, getParentWorkflow, getParentWorkflowMeta, getPluginId, getReferencedObjectDescriptions, getSqlStatements, hasChanged, isPipeline, isReferencedObjectEnabled, isStart, isWorkflow, loadReferencedObject, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setMetadataProvider, setName, setParentWorkflow, setParentWorkflowMeta, setPluginId
-
Methods inherited from interface org.apache.hop.core.IExtensionData
getExtensionDataMap
-
Methods inherited from interface org.apache.hop.core.variables.IVariables
copyFrom, getParentVariables, getVariable, getVariable, getVariableBoolean, getVariableNames, initializeFrom, resolve, resolve, resolve, setParentVariables, setVariable, setVariables, shareWith
-
-
-
-
Constructor Detail
-
ActionMysqlBulkFile
public ActionMysqlBulkFile(String n)
-
ActionMysqlBulkFile
public ActionMysqlBulkFile()
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.apache.hop.workflow.action.IAction- Overrides:
clonein classorg.apache.hop.workflow.action.ActionBase
-
getXml
public String getXml()
- Specified by:
getXmlin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
getXmlin classorg.apache.hop.workflow.action.ActionBase
-
loadXml
public void loadXml(Node entrynode, IHopMetadataProvider metadataProvider, IVariables variables) throws HopXmlException
- Specified by:
loadXmlin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
loadXmlin classorg.apache.hop.workflow.action.ActionBase- Throws:
HopXmlException
-
setTableName
public void setTableName(String tableName)
-
setSchemaName
public void setSchemaName(String schemaName)
-
getTableName
public String getTableName()
-
getSchemaName
public String getSchemaName()
-
setDatabase
public void setDatabase(DatabaseMeta database)
-
getDatabase
public DatabaseMeta getDatabase()
-
isEvaluation
public boolean isEvaluation()
- Specified by:
isEvaluationin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
isEvaluationin classorg.apache.hop.workflow.action.ActionBase
-
isUnconditional
public boolean isUnconditional()
- Specified by:
isUnconditionalin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
isUnconditionalin classorg.apache.hop.workflow.action.ActionBase
-
execute
public Result execute(Result previousResult, int nr)
- Specified by:
executein interfaceorg.apache.hop.workflow.action.IAction
-
getUsedDatabaseConnections
public DatabaseMeta[] getUsedDatabaseConnections()
- Overrides:
getUsedDatabaseConnectionsin classorg.apache.hop.workflow.action.ActionBase
-
setHighPriority
public void setHighPriority(boolean highpriority)
-
setOptionEnclosed
public void setOptionEnclosed(boolean optionenclosed)
-
isHighPriority
public boolean isHighPriority()
-
isOptionEnclosed
public boolean isOptionEnclosed()
-
setFilename
public void setFilename(String filename)
-
getFilename
public String getFilename()
- Specified by:
getFilenamein interfaceorg.apache.hop.workflow.action.IAction- Specified by:
getFilenamein interfaceILoggingObject- Overrides:
getFilenamein classorg.apache.hop.workflow.action.ActionBase
-
getRealFilename
public String getRealFilename()
- Specified by:
getRealFilenamein interfaceorg.apache.hop.workflow.action.IAction- Overrides:
getRealFilenamein classorg.apache.hop.workflow.action.ActionBase
-
setSeparator
public void setSeparator(String separator)
-
setEnclosed
public void setEnclosed(String enclosed)
-
setLineTerminated
public void setLineTerminated(String lineTerminated)
-
getLineTerminated
public String getLineTerminated()
-
getRealLineterminated
public String getRealLineterminated()
-
getSeparator
public String getSeparator()
-
getEnclosed
public String getEnclosed()
-
getRealSeparator
public String getRealSeparator()
-
getRealEnclosed
public String getRealEnclosed()
-
setLimitLines
public void setLimitLines(String limitLines)
-
getLimitLines
public String getLimitLines()
-
getRealLimitlines
public String getRealLimitlines()
-
setListColumn
public void setListColumn(String listcolumn)
-
getListColumn
public String getListColumn()
-
getRealListColumn
public String getRealListColumn()
-
setAddFileToResult
public void setAddFileToResult(boolean addfiletoresultin)
-
isAddFileToResult
public boolean isAddFileToResult()
-
getResourceDependencies
public List<org.apache.hop.resource.ResourceReference> getResourceDependencies(IVariables variables, org.apache.hop.workflow.WorkflowMeta workflowMeta)
- Specified by:
getResourceDependenciesin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
getResourceDependenciesin classorg.apache.hop.workflow.action.ActionBase
-
check
public void check(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta workflowMeta, IVariables variables, IHopMetadataProvider metadataProvider)
- Specified by:
checkin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
checkin classorg.apache.hop.workflow.action.ActionBase
-
-