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, startequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCreateTempTable, getDeleteAllTuples, getDeleteTuples, getLoadTuples, getNodeColTypes, getTupleColTypepublic TupleLoaderBase(SDBConnection connection, TableDesc tableDesc, int chunkSize)
public int getArity()
public void load(Node... row)
TupleLoaderload in interface TupleLoaderpublic void unload(Node... row)
TupleLoaderunload in interface TupleLoaderpublic void finish()
TupleLoaderfinish in interface TupleLoaderfinish in class TupleLoaderBasepublic void close()
TupleLoaderclose in interface TupleLoaderclose in class TupleLoaderBasepublic 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 TupleLoaderBasicspublic String getClearTempTuples()
getClearTempTuples in interface TupleLoaderBasicspublic boolean clearsOnCommit()
clearsOnCommit in interface TupleLoaderBasicsLicenced under the Apache License, Version 2.0