public class ClobConnectorParams extends FileConnectorParams
DataSetConnectorParams
used by ClobConnector.ClobConnector
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
COLUMN_NAME_PROP
The COLUMN_NAME property.
|
static String |
EXTENSION_PROP
The EXTENSION property.
|
static String |
PREFIX
The PREFIX.
|
static String |
TEXT_ENCODING_PROP
The TEXT encoding property.
|
ADJUST_DATA_TYPE_PROP, ALL_STRINGS_PROP, BASE64_ENCODE_CLOB_PROP, BOOLEAN_AS_NUMBER_PROP, CONVERT_NULL_PROP, ENCODING_PROP, NAME_TO_SQL_NAME_PROP, NULL_IF_EMPTY_PROP, OVERRIDE_WILCARD_PROP, SPLIT_BY_PROP, SUFFIX_PROP, TEMPALTE_PROP
AUTO_COMMIT_PROP, FILE_NAME_PROP, MAX_ROWS_EXCEEDED_EXCEPTION, PASSWORD_PROP, PROPERTIES_PROP, TRANSPORT_PROP, USE_SELECTED_PROP, USER_ID_PROP
Constructor and Description |
---|
ClobConnectorParams()
Instantiates a new ClobConnectorParams.
|
ClobConnectorParams(CacheProvider<String,Object> cacheProvider,
boolean silent,
int logStep)
Instantiates a new ClobConnectorParams.
|
ClobConnectorParams(CacheProvider<String,Object> cacheProvider,
boolean silent,
int logStep,
String delimiter,
boolean persistMetaData)
Instantiates a new ClobConnectorParams.
|
Modifier and Type | Method and Description |
---|---|
DataSetConnectorParams |
copy()
Create a copy of this object.
|
String |
getColumnName()
Gets the column name.
|
String |
getExt()
Gets the file extension.
|
String |
getOutputTemplate()
Gets the output template.
|
String |
getPreprocessor()
Gets the preprocessor.
|
String |
getPropsHint()
Gets the hint displayed next to the properties editor.
|
String |
getPropsWizardResource(Driver driver,
String connectionDriver)
Gets the name of the xml file used to create a wizard for editing
properties.
|
Writer |
getWriter()
Gets the writer.
|
void |
init(Alias alias)
Initializes itself using given alias.
|
void |
init(Map<String,String> props)
Initializes itself using given properties.
|
void |
init(ObjectStorage storage)
Initializes itself using given object storage.
|
void |
setColumnName(String columnName)
Sets the column name.
|
void |
setExt(String value)
Sets the file extension.
|
void |
setOutputTemplate(String outputTemplate)
Sets the output template.
|
void |
setPreprocessor(String filter)
Sets the filter.
|
void |
setWriter(Writer value)
Sets the writer.
|
alias2alias, deserializeToInputStream, getAlias, getCdata, getDateFormat, getDateTimeFormat, getEncoding, getFileName, getFileName, getFileNameIfFileSystem, getFolder, getInitStr, getOriginalAlias, getPassword, getProperties, getRealFileName, getSplitBy, getSuffix, getTemplate, getTemplateToUse, getTimeFormat, getTransport, getUserId, getWildcardUrl, isAdjustDataTypes, isAllStrings, isBooleanAsNumber, isConvertNameToSqlName, isConvertNull, isCurrentStreaming, isDateFormat, isDateTimeFormat, isDisableStreaming, isEncodeClob, isFileNameRequired, isForceExt, isNoOriginalFileName, isNullIfEmpty, isOverrideWildcrad, isParseDates, isTimeFormat, isTrimValue, needToEncode, selfDiscover, setAdjustDataTypes, setAllStrings, setBooleanAsNumber, setCdata, setConvertNameToSqlName, setConvertNull, setDateFormat, setDateTimeFormat, setDisableStreaming, setEncodeClob, setEncoding, setFieldDataType, setFileName, setFileNameRequired, setFolder, setForceExt, setNoOriginalFileName, setNullIfEmpty, setOverrideWildcrad, setParseDates, setPassword, setProperties, setRealFileName, setSplitBy, setSuffix, setTemplate, setTimeFormat, setTransport, setTrimValue, setUserId
getAddFieldValueCallback, getAddRecordCallback, getAfterCallback, getBeforeCallback, getCacheProvider, getCrudAction, getInputStream, getIoProcessor, getLogStep, getMaxRows, getOutputStream, getParams, getReadTracker, getTarget, getTransactionMonitor, hasAddRecordCallback, isCleanUpPersistOccured, isCloseInput, isCloseOutput, isEnabled, isIgnoreEmpty, isIgnoreNoRecords, isMaxRowsExceededException, isPostPersistOccured, isPrePersistOccured, isReadOnlyMetadata, isSilent, isStreaming, prepareForPopulate, setAddFieldValueCallback, setAddRecordCallback, setAfterCallback, setBeforeCallback, setCacheProvider, setCleanUpPersistOccurred, setCloseInput, setCloseOutput, setCrudAction, setEnabled, setHasAddRecordCallback, setIgnoreEmpty, setIgnoreNoRecords, setInputStream, setIoProcessor, setLogStep, setMaxRows, setOutputStream, setPostPersistOccured, setPrePersistOccured, setReadOnlyMetadata, setReadTracker, setSilent, setTarget, setTransactionMonitor, setUseSelectedDataSet, useSelectedDataSet
public static final String TEXT_ENCODING_PROP
public static final String PREFIX
public static final String COLUMN_NAME_PROP
public static final String EXTENSION_PROP
public ClobConnectorParams()
public ClobConnectorParams(CacheProvider<String,Object> cacheProvider, boolean silent, int logStep)
cacheProvider
- the cache providersilent
- the "is silent" flaglogStep
- the log steppublic ClobConnectorParams(CacheProvider<String,Object> cacheProvider, boolean silent, int logStep, String delimiter, boolean persistMetaData)
cacheProvider
- the cache providersilent
- the "is silent" flaglogStep
- the log stepdelimiter
- the delimiterpersistMetaData
- the "persist meta data" flagpublic DataSetConnectorParams copy()
DataSetConnectorParams
copy
in class DataSetConnectorParams
public String getExt()
public String getPropsHint()
DataSetConnectorParams
getPropsHint
in class DataSetConnectorParams
public String getPropsWizardResource(Driver driver, String connectionDriver)
DataSetConnectorParams
getPropsWizardResource
in class DataSetConnectorParams
driver
- the ETL driverconnectionDriver
- the connection driverpublic Writer getWriter()
public void init(Alias alias)
DataSetConnectorParams
init
in class FileConnectorParams
alias
- the aliaspublic void init(Map<String,String> props)
DataSetConnectorParams
init
in class FileConnectorParams
props
- the propertiespublic void init(ObjectStorage storage)
DataSetConnectorParams
init
in class DataSetConnectorParams
storage
- the object storagepublic void setExt(String value)
value
- the new file extensionpublic void setWriter(Writer value)
value
- the new writerpublic String getColumnName()
public void setColumnName(String columnName)
columnName
- the new column namepublic String getPreprocessor()
public void setPreprocessor(String filter)
preprocessor
- the new preprocessorpublic String getOutputTemplate()
public void setOutputTemplate(String outputTemplate)
outputTemplate
- the new output templateCopyright © 2010-2020 Toolsverse. All Rights Reserved.