|
||||||||||
| 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 ConnectorInterfaceinitialize in class Connectoro - User provided parameter
Exception
public void terminate()
throws Exception
Connector
terminate in interface ConnectorInterfaceterminate in class ConnectorException
public void selectEntries()
throws Exception
Connector
selectEntries in interface ConnectorInterfaceselectEntries in class ConnectorException
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 Entry queryReply(Entry aEntry)
throws Exception
Connector
queryReply in interface ConnectorInterfacequeryReply in class ConnectoraEntry - 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 | |||||||||