Interface CalciteServer


public interface CalciteServer
Server.

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addStatement(CalciteConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h)
     
    getStatement(org.apache.calcite.avatica.Meta.StatementHandle h)
    Returns the statement with a given handle.
    void
    removeStatement(org.apache.calcite.avatica.Meta.StatementHandle h)
     
  • Method Details

    • 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