|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.BTree
public class BTree
| Field Summary | |
|---|---|
boolean |
fastreplace
|
static int |
READ_ALL
|
static int |
READ_DELETED
|
static int |
READ_EXISTING
|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
BTree()
|
|
| Method Summary | |
|---|---|
void |
deleteEntry(Entry entry,
SearchCriteria search)
Deletes an existing entry. |
Entry |
findEntry(SearchCriteria search)
Finds an existing entry. |
DBFile |
getDatabase()
|
Object |
getDBProperty(Object p1)
|
Entry |
getNextEntry()
Returns the next Entry from the connector. |
Object |
getProperty(Object p1)
Return a connector property. |
String |
getVersion()
Return version information |
void |
initialize(Object p1)
Initialize the connector. |
void |
modEntry(Entry entry,
SearchCriteria search)
Modifies an existing entry. |
void |
putEntry(Entry entry)
Adds a new entry to the data source |
void |
selectEntries()
Prepare the Connector for sequential read. |
void |
setDBProperty(Object p1,
Object p2)
|
void |
setProperty(Object p1,
Object p2)
Set connector property. |
void |
setSelectionMode(int mode)
|
void |
terminate()
Terminate the connector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
|---|
getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, pushback, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Field Detail |
|---|
public static final int READ_EXISTING
public static final int READ_ALL
public static final int READ_DELETED
public boolean fastreplace
| Constructor Detail |
|---|
public BTree()
| Method Detail |
|---|
public void initialize(Object p1)
throws Exception
Connector
initialize in interface ConnectorInterfaceinitialize in class Connectorp1 - User provided parameter
Exceptionpublic void terminate()
Connector
terminate in interface ConnectorInterfaceterminate in class Connectorpublic void setSelectionMode(int mode)
public void selectEntries()
throws Exception
Connector
selectEntries in interface ConnectorInterfaceselectEntries in class ConnectorException
public Object getDBProperty(Object p1)
throws Exception
Exception
public void setDBProperty(Object p1,
Object p2)
throws Exception
Exception
public Entry getNextEntry()
throws Exception
Connector
getNextEntry in interface ConnectorInterfacegetNextEntry in class ConnectorExceptionConnector.selectEntries()
public void putEntry(Entry entry)
throws Exception
Connector
putEntry in interface ConnectorInterfaceputEntry in class Connectorentry - The entry data to add
Exception - Any exceptions thrown by the connector's underlying classes
public void modEntry(Entry entry,
SearchCriteria search)
throws Exception
Connector
modEntry in interface ConnectorInterfacemodEntry in class Connectorentry - The entry datasearch - The search criteria used to locate the entry to be modified
Exception - Any exceptions thrown by the connector's underlying classes
public Entry findEntry(SearchCriteria search)
throws Exception
Connector
findEntry in interface ConnectorInterfacefindEntry in class Connectorsearch - The search criteria used to locate the entry to be modified
Exception - Any exceptions thrown by the connector's underlying classes
public void deleteEntry(Entry entry,
SearchCriteria search)
throws Exception
Connector
deleteEntry in interface ConnectorInterfacedeleteEntry in class Connectorentry - The entry datasearch - The search criteria used to locate the entry to be deleted
Exception - Any exceptions thrown by the connector's underlying classespublic Object getProperty(Object p1)
Connector
getProperty in class Connectorp1 - The property name
public void setProperty(Object p1,
Object p2)
Connector
setProperty in class Connectorp1 - The property namep2 - The property valuepublic DBFile getDatabase()
public String getVersion()
getVersion in interface VersionInfoInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||