Package org.apache.calcite.server
Interface CalciteServer
public interface CalciteServer
Server.
Represents shared state among connections, and will have monitoring and management facilities.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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
-