Loader.ConnectionError, Loader.DataError| Modifier and Type | Field and Description |
|---|---|
static DatabaseMetaData |
metadata |
| Constructor and Description |
|---|
StreamLoader(Map<LoaderProperty,Object> properties,
Connection putConnection,
Connection processConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(RuntimeException t) |
void |
close()
Close connections that have been provided upon initialization
|
void |
finish()
Finishes loader
|
LoadResultListener |
getListener() |
void |
resetOperation(Operation op)
If operation is changed, previous data is committed
|
void |
rollback()
Rollback uncommitted changes.
|
void |
run() |
void |
setListener(LoadResultListener _listener) |
void |
setProperty(LoaderProperty property,
Object value) |
void |
start()
Starts the loader
|
void |
submitRow(Object[] row)
Pass row data
|
public static DatabaseMetaData metadata
public StreamLoader(Map<LoaderProperty,Object> properties, Connection putConnection, Connection processConnection)
public void setProperty(LoaderProperty property, Object value)
setProperty in interface Loaderpublic void abort(RuntimeException t)
public void rollback()
Loaderpublic void submitRow(Object[] row)
Loaderpublic void finish()
throws Exception
public void close()
Loaderpublic void resetOperation(Operation op)
LoaderresetOperation in interface Loaderop - operation will be resetpublic LoadResultListener getListener()
getListener in interface Loaderpublic void setListener(LoadResultListener _listener)
setListener in interface LoaderCopyright © 2022. All rights reserved.