com.etasoft.trans.io
Class axJdbcReader

java.lang.Object
  extended bycom.etasoft.trans.io.axReader
      extended bycom.etasoft.trans.io.axJdbcReader

public class axJdbcReader
extends axReader

Jdbc reader.


Constructor Summary
axJdbcReader(java.lang.String dataPath, axInputParameters inputParams)
          Create jdbc reader based on data path provided.
 
Method Summary
 void close()
          Used in axReaderIterator.
 java.util.ArrayList getFields(java.lang.String section)
          Get list of fields based on the query.
static java.util.ArrayList getList(java.lang.String dataPath)
          Get list of database connections based on connection string dataPath.
 void open(java.lang.String dataPath, axInputParameters inputParams)
          Open JDBC connection.
 int read(char[] cbuf)
          Used in axReaderIterator.
 boolean read(java.lang.String section, java.util.HashMap hashMap)
          Used in axReaderIterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axJdbcReader

public axJdbcReader(java.lang.String dataPath,
                    axInputParameters inputParams)
             throws axException
Create jdbc reader based on data path provided.

Method Detail

open

public void open(java.lang.String dataPath,
                 axInputParameters inputParams)
          throws axException
Open JDBC connection.

Specified by:
open in class axReader
Throws:
axException

getList

public static java.util.ArrayList getList(java.lang.String dataPath)
Get list of database connections based on connection string dataPath.


close

public void close()
           throws axException
Description copied from class: axReader
Used in axReaderIterator.

Specified by:
close in class axReader
Throws:
axException

read

public int read(char[] cbuf)
         throws axException
Description copied from class: axReader
Used in axReaderIterator.

Overrides:
read in class axReader
Throws:
axException

read

public boolean read(java.lang.String section,
                    java.util.HashMap hashMap)
             throws axException
Description copied from class: axReader
Used in axReaderIterator.

Overrides:
read in class axReader
Throws:
axException

getFields

public java.util.ArrayList getFields(java.lang.String section)
                              throws axException
Get list of fields based on the query.

Throws:
axException