Package org.relique.io
Class ListDataReader
- java.lang.Object
-
- org.relique.io.DataReader
-
- org.relique.io.ListDataReader
-
public class ListDataReader extends DataReader
A reader from a list, enabling database metadata functions to return JDBC ResultSet objects containing lists of tables, schemas and other metadata.
-
-
Field Summary
-
Fields inherited from class org.relique.io.DataReader
DEFAULT_COLUMN_SIZE
-
-
Constructor Summary
Constructors Constructor Description ListDataReader(java.lang.String[] columnNames, java.lang.String[] columnTypes, java.util.List<java.lang.Object[]> columnValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.lang.String[]getColumnNames()int[]getColumnSizes()java.lang.String[]getColumnTypes()java.util.Map<java.lang.String,java.lang.Object>getEnvironment()java.lang.StringgetTableAlias()booleannext()
-
-
-
Method Detail
-
next
public boolean next() throws java.sql.SQLException- Specified by:
nextin classDataReader- Throws:
java.sql.SQLException
-
getColumnNames
public java.lang.String[] getColumnNames() throws java.sql.SQLException- Specified by:
getColumnNamesin classDataReader- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException- Specified by:
closein classDataReader- Throws:
java.sql.SQLException
-
getEnvironment
public java.util.Map<java.lang.String,java.lang.Object> getEnvironment() throws java.sql.SQLException- Specified by:
getEnvironmentin classDataReader- Throws:
java.sql.SQLException
-
getColumnTypes
public java.lang.String[] getColumnTypes() throws java.sql.SQLException- Specified by:
getColumnTypesin classDataReader- Throws:
java.sql.SQLException
-
getColumnSizes
public int[] getColumnSizes() throws java.sql.SQLException- Specified by:
getColumnSizesin classDataReader- Throws:
java.sql.SQLException
-
getTableAlias
public java.lang.String getTableAlias()
- Specified by:
getTableAliasin classDataReader
-
-