Class 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.
    • Constructor Detail

      • ListDataReader

        public ListDataReader​(java.lang.String[] columnNames,
                              java.lang.String[] columnTypes,
                              java.util.List<java.lang.Object[]> columnValues)
    • Method Detail

      • next

        public boolean next()
                     throws java.sql.SQLException
        Specified by:
        next in class DataReader
        Throws:
        java.sql.SQLException
      • getColumnNames

        public java.lang.String[] getColumnNames()
                                          throws java.sql.SQLException
        Specified by:
        getColumnNames in class DataReader
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Specified by:
        close in class DataReader
        Throws:
        java.sql.SQLException
      • getEnvironment

        public java.util.Map<java.lang.String,​java.lang.Object> getEnvironment()
                                                                              throws java.sql.SQLException
        Specified by:
        getEnvironment in class DataReader
        Throws:
        java.sql.SQLException
      • getColumnTypes

        public java.lang.String[] getColumnTypes()
                                          throws java.sql.SQLException
        Specified by:
        getColumnTypes in class DataReader
        Throws:
        java.sql.SQLException
      • getColumnSizes

        public int[] getColumnSizes()
                             throws java.sql.SQLException
        Specified by:
        getColumnSizes in class DataReader
        Throws:
        java.sql.SQLException