public class FastloadControlBuilder extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DATAFILE_COLUMN_SEPERATOR |
static String |
DEFAULT_DATE_FORMAT |
static String |
DEFAULT_ERROR_TABLE1 |
static String |
DEFAULT_ERROR_TABLE2 |
static String |
DEFAULT_NULL_VALUE |
static String |
RECORD_FORMAT_UNFORMATTED |
static String |
RECORD_VARTEXT |
| 构造器和说明 |
|---|
FastloadControlBuilder() |
public FastloadControlBuilder newline()
public FastloadControlBuilder logon(String connectionString) throws IllegalArgumentException
connectionString - the connection string.IllegalArgumentException - if connection string is blank.public FastloadControlBuilder logon(String dbhost, String user, String password) throws IllegalArgumentException
dbhost - DB host, e.g localtduser - the user.password - the password.IllegalArgumentException - if input is invalid.public FastloadControlBuilder setRecordFormat(String format) throws IllegalArgumentException
format - the format.IllegalArgumentException - if format is invalid.public FastloadControlBuilder setSessions(int sessions) throws IllegalArgumentException
sessions - the sesssions.IllegalArgumentException - if sessions <= 0public FastloadControlBuilder setErrorLimit(int errorLimit) throws IllegalArgumentException
errorLimit - the errorLimit.IllegalArgumentException - if errorLimit <= 0public FastloadControlBuilder define(org.pentaho.di.core.row.RowMetaInterface targetTableFields, StringListPluginProperty tableFieldList, String dataFile)
targetTableFields - ...dataFile - ...public FastloadControlBuilder insert(org.pentaho.di.core.row.RowMetaInterface targetTableFields, StringListPluginProperty tableFieldList, String tableName)
targetTableFields - ...tableFieldList - tableName - ...public FastloadControlBuilder show()
public FastloadControlBuilder endLoading()
public FastloadControlBuilder beginLoading(String schemaName, String table) throws IllegalArgumentException
table - the target table.IllegalArgumentException - if table is invalid.public FastloadControlBuilder line(String line)
line - line to append.public FastloadControlBuilder logoff()
public String toString()
toString 在类中 ObjectObject.toString()Copyright © 2024 Hitachi Vantara. All rights reserved.