Package org.relique.io
Class DataReader
- java.lang.Object
-
- org.relique.io.DataReader
-
- Direct Known Subclasses:
CsvReader
,DbfReader
,ListDataReader
public abstract class DataReader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_COLUMN_SIZE
-
Constructor Summary
Constructors Constructor Description DataReader()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
close()
abstract java.lang.String[]
getColumnNames()
abstract int[]
getColumnSizes()
abstract java.lang.String[]
getColumnTypes()
abstract java.util.Map<java.lang.String,java.lang.Object>
getEnvironment()
abstract java.lang.String
getTableAlias()
abstract boolean
next()
-
-
-
Field Detail
-
DEFAULT_COLUMN_SIZE
public static final int DEFAULT_COLUMN_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
next
public abstract boolean next() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getColumnNames
public abstract java.lang.String[] getColumnNames() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
close
public abstract void close() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getEnvironment
public abstract java.util.Map<java.lang.String,java.lang.Object> getEnvironment() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getColumnTypes
public abstract java.lang.String[] getColumnTypes() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getColumnSizes
public abstract int[] getColumnSizes() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getTableAlias
public abstract java.lang.String getTableAlias()
-
-