|
||||||||||
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 ConnectorInterface
initialize
in class Connector
p1
- User provided parameter
Exception
public void terminate()
Connector
terminate
in interface ConnectorInterface
terminate
in class Connector
public void setSelectionMode(int mode)
public void selectEntries() throws Exception
Connector
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
Exception
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 ConnectorInterface
getNextEntry
in class Connector
Exception
Connector.selectEntries()
public void putEntry(Entry entry) throws Exception
Connector
putEntry
in interface ConnectorInterface
putEntry
in class Connector
entry
- The entry data to add
Exception
- Any exceptions thrown by the connector's underlying classespublic void modEntry(Entry entry, SearchCriteria search) throws Exception
Connector
modEntry
in interface ConnectorInterface
modEntry
in class Connector
entry
- The entry datasearch
- The search criteria used to locate the entry to be modified
Exception
- Any exceptions thrown by the connector's underlying classespublic Entry findEntry(SearchCriteria search) throws Exception
Connector
findEntry
in interface ConnectorInterface
findEntry
in class Connector
search
- The search criteria used to locate the entry to be modified
Exception
- Any exceptions thrown by the connector's underlying classespublic void deleteEntry(Entry entry, SearchCriteria search) throws Exception
Connector
deleteEntry
in interface ConnectorInterface
deleteEntry
in class Connector
entry
- 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 Connector
p1
- The property name
public void setProperty(Object p1, Object p2)
Connector
setProperty
in class Connector
p1
- 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 |