Package org.apache.calcite.server
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addStatement(CalciteConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h)
CalciteServerStatement
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 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
-
-