|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.steps.terafast.FastloadControlBuilder
public class FastloadControlBuilder
| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
FastloadControlBuilder()
|
|
| Method Summary | |
|---|---|
FastloadControlBuilder |
beginLoading(String table)
Issue begin loading with default error tables. |
FastloadControlBuilder |
define(RowMetaInterface targetTableFields,
String dataFile)
|
FastloadControlBuilder |
endLoading()
|
FastloadControlBuilder |
insert(RowMetaInterface targetTableFields,
String tableName)
|
FastloadControlBuilder |
line(String line)
Append line, nothing if line is blank. |
FastloadControlBuilder |
logoff()
Append log off. |
FastloadControlBuilder |
logon(String connectionString)
Append log on. |
FastloadControlBuilder |
logon(String dbhost,
String user,
String password)
Append log on. |
FastloadControlBuilder |
newline()
Append new line. |
FastloadControlBuilder |
setErrorLimit(int errorLimit)
|
FastloadControlBuilder |
setRecordFormat(String format)
|
FastloadControlBuilder |
setSessions(int sessions)
|
FastloadControlBuilder |
show()
show field definition. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DATAFILE_COLUMN_SEPERATOR
public static final String RECORD_FORMAT_UNFORMATTED
public static final String RECORD_VARTEXT
public static final String DEFAULT_ERROR_TABLE1
public static final String DEFAULT_ERROR_TABLE2
public static final String DEFAULT_DATE_FORMAT
public static final String DEFAULT_NULL_VALUE
| Constructor Detail |
|---|
public FastloadControlBuilder()
| Method Detail |
|---|
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 <= 0
public FastloadControlBuilder setErrorLimit(int errorLimit)
throws IllegalArgumentException
errorLimit - the errorLimit.
IllegalArgumentException - if errorLimit <= 0
public FastloadControlBuilder define(RowMetaInterface targetTableFields,
String dataFile)
targetTableFields - ...dataFile - ...
public FastloadControlBuilder insert(RowMetaInterface targetTableFields,
String tableName)
targetTableFields - ...tableName - ...
public FastloadControlBuilder show()
public FastloadControlBuilder endLoading()
public FastloadControlBuilder beginLoading(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 in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||