public abstract class TupleLoaderBase extends TupleLoaderBase implements TupleLoaderBasics
Modifier and Type | Class and Description |
---|---|
static class |
TupleLoaderBase.PreparedNode |
Constructor and Description |
---|
TupleLoaderBase(SDBConnection connection,
TableDesc tableDesc,
int chunkSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
clearsOnCommit() |
void |
close()
This TupleLoader is done with.
|
void |
finish()
Notify the finish of a sequence of rows to load.
|
int |
getArity() |
String |
getClearTempNodes() |
String |
getClearTempTuples() |
String |
getCreateTempNodes() |
String |
getCreateTempTuples() |
String |
getInsertTempNodes() |
String |
getInsertTempTuples() |
String |
getLoadNodes() |
String |
getNodeLoader()
These are the SQL 'bits' we use to construct the loader statements
|
String |
getTupleLoader() |
void |
load(Node... row)
Load a row - may not take place immediately
but row object is free for reuse after calling this method.
|
void |
unload(Node... row)
Remove a row - may not take place immediately
but row object is free for reuse after calling this method.
|
getTableDesc, getTableName, setTableDesc, start
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCreateTempTable, getDeleteAllTuples, getDeleteTuples, getLoadTuples, getNodeColTypes, getTupleColType
public TupleLoaderBase(SDBConnection connection, TableDesc tableDesc, int chunkSize)
public int getArity()
public void load(Node... row)
TupleLoader
load
in interface TupleLoader
public void unload(Node... row)
TupleLoader
unload
in interface TupleLoader
public void finish()
TupleLoader
finish
in interface TupleLoader
finish
in class TupleLoaderBase
public void close()
TupleLoader
close
in interface TupleLoader
close
in class TupleLoaderBase
public String getNodeLoader()
public String getTupleLoader()
public String getCreateTempNodes()
public String getCreateTempTuples()
public String getInsertTempNodes()
public String getInsertTempTuples()
public String getLoadNodes()
public String getClearTempNodes()
getClearTempNodes
in interface TupleLoaderBasics
public String getClearTempTuples()
getClearTempTuples
in interface TupleLoaderBasics
public boolean clearsOnCommit()
clearsOnCommit
in interface TupleLoaderBasics
Licenced under the Apache License, Version 2.0