Interface CalciteServer

  • All Known Implementing Classes:
    CalciteConnectionImpl.CalciteServerImpl

    public interface CalciteServer
    Server.

    Represents shared state among connections, and will have monitoring and management facilities.

    • Method Detail

      • removeStatement

        void removeStatement​(org.apache.calcite.avatica.Meta.StatementHandle h)
      • addStatement

        void addStatement​(CalciteConnection connection,
                          org.apache.calcite.avatica.Meta.StatementHandle h)
      • getStatement

        CalciteServerStatement getStatement​(org.apache.calcite.avatica.Meta.StatementHandle h)
                                     throws org.apache.calcite.avatica.NoSuchStatementException
        Returns the statement with a given handle.
        Parameters:
        h - Statement handle
        Returns:
        Statement, never null
        Throws:
        org.apache.calcite.avatica.NoSuchStatementException - if handle does not represent a statement