public abstract class TupleLoaderOne extends TupleLoaderBase
Constructor and Description |
---|
TupleLoaderOne(SDBConnection connection) |
TupleLoaderOne(SDBConnection connection,
TableDesc tableDesc) |
Modifier and Type | Method and Description |
---|---|
void |
finish()
Notify the finish of a sequence of rows to load.
|
abstract SqlConstant |
getRefForNode(Node node) |
abstract SqlConstant |
insertNode(Node node) |
void |
load(Node... row)
Load a row - may not take place immediately
but row object is free for reuse after calling this method.
|
void |
start()
Notify the start of a sequence of rows to load
|
void |
unload(Node... row)
Remove a row - may not take place immediately
but row object is free for reuse after calling this method.
|
close, getTableDesc, getTableName, setTableDesc
public TupleLoaderOne(SDBConnection connection)
public TupleLoaderOne(SDBConnection connection, TableDesc tableDesc)
public void start()
TupleLoader
start
in interface TupleLoader
start
in class TupleLoaderBase
public void finish()
TupleLoader
finish
in interface TupleLoader
finish
in class TupleLoaderBase
public void load(Node... row)
TupleLoader
public void unload(Node... row)
TupleLoader
public abstract SqlConstant getRefForNode(Node node) throws SQLException
SQLException
public abstract SqlConstant insertNode(Node node) throws SQLException
SQLException
Licenced under the Apache License, Version 2.0