Interface SqlSystemView

    • Method Detail

      • getTableName

        String getTableName()
        Gets table name.
      • getDescription

        String getDescription()
        Gets description.
      • getColumns

        org.h2.table.Column[] getColumns()
        Gets columns.
      • getIndexes

        String[] getIndexes()
        Gets indexed column names.
      • getRows

        Iterator<org.h2.result.Row> getRows​(org.h2.engine.Session ses,
                                            org.h2.result.SearchRow first,
                                            org.h2.result.SearchRow last)
        Gets view content.
        Parameters:
        ses - Session.
        first - First.
        last - Last.
      • getRowCount

        long getRowCount()
        Gets row count for this view (or approximated row count, if real value can't be calculated quickly).
      • getRowCountApproximation

        long getRowCountApproximation()
        Gets approximated row count (required to build execution plan).
      • canGetRowCount

        boolean canGetRowCount()
        Check if the row count can be retrieved quickly.
        Returns:
        true if it can
      • getCreateSQL

        String getCreateSQL()
        Gets SQL script for creating table.
      • isDistributed

        boolean isDistributed()
        Returns:
        True if view is distributed.