Class JdbcTableSummary

  • All Implemented Interfaces:
    org.orbisgis.data.api.dataset.IJdbcTableSummary, org.orbisgis.data.api.dataset.ISummary

    public class JdbcTableSummary
    extends Object
    implements org.orbisgis.data.api.dataset.IJdbcTableSummary
    Implementation of the interface ISummary for the JDBC module.
    Author:
    Sylvain Palominos
    • Constructor Detail

      • JdbcTableSummary

        public JdbcTableSummary​(org.h2gis.utilities.TableLocation tableLocation,
                                int columnCount,
                                int rowCount)
    • Method Detail

      • getLocation

        public org.h2gis.utilities.TableLocation getLocation()
        Returns the TableLocation of the summarized JdbcTable.
        Specified by:
        getLocation in interface org.orbisgis.data.api.dataset.IJdbcTableSummary
        Returns:
        The TableLocation of the summarized JdbcTable.
      • getRowCount

        public int getRowCount()
        Returns the row count of the summarized JdbcTable.
        Specified by:
        getRowCount in interface org.orbisgis.data.api.dataset.IJdbcTableSummary
        Returns:
        The row count of the summarized JdbcTable.
      • getColumnCount

        public int getColumnCount()
        Returns the column count of the summarized JdbcTable.
        Specified by:
        getColumnCount in interface org.orbisgis.data.api.dataset.IJdbcTableSummary
        Returns:
        The column count of the summarized JdbcTable.
      • toString

        public String toString()
        Specified by:
        toString in interface org.orbisgis.data.api.dataset.ISummary
        Overrides:
        toString in class Object
      • asType

        public Object asType​(Class<?> clazz)
        Specified by:
        asType in interface org.orbisgis.data.api.dataset.ISummary