|
||||||||||
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.CommandLineConnector
public class CommandLineConnector
Field Summary | |
---|---|
static String |
ATTR_COMMAND_LINE
|
static String |
ATTR_COMMAND_OUTPUT
|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
CommandLineConnector()
|
Method Summary | |
---|---|
Entry |
getNextEntry()
Returns the next Entry from the connector. |
String |
getVersion()
Return version information |
void |
initialize(Object o)
Initialize the connector. |
void |
putEntry(Entry entry)
Adds a new entry to the data source |
Entry |
queryReply(Entry aEntry)
Performs a query/reply operations. |
void |
selectEntries()
Prepare the Connector for sequential read. |
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 |
---|
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, queryOperations, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
Field Detail |
---|
public static final String ATTR_COMMAND_LINE
public static final String ATTR_COMMAND_OUTPUT
Constructor Detail |
---|
public CommandLineConnector()
Method Detail |
---|
public void initialize(Object o) throws Exception
Connector
initialize
in interface ConnectorInterface
initialize
in class Connector
o
- User provided parameter
Exception
public void terminate() throws Exception
Connector
terminate
in interface ConnectorInterface
terminate
in class Connector
Exception
public void selectEntries() throws Exception
Connector
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
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 Entry queryReply(Entry aEntry) throws Exception
Connector
queryReply
in interface ConnectorInterface
queryReply
in class Connector
aEntry
- The data used in outgoing call
Exception
- Any exceptions thrown by the connector's underlying classespublic String getVersion()
getVersion
in interface VersionInfoInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |