private static class CalciteConnectionImpl.CalciteServerImpl extends Object implements CalciteServer
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<Integer,CalciteServerStatement> |
statementMap |
| Modifier | Constructor and Description |
|---|---|
private |
CalciteServerImpl() |
| Modifier and Type | Method and 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) |
final Map<Integer,CalciteServerStatement> statementMap
public void removeStatement(org.apache.calcite.avatica.Meta.StatementHandle h)
removeStatement in interface CalciteServerpublic void addStatement(CalciteConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h)
addStatement in interface CalciteServerpublic CalciteServerStatement getStatement(org.apache.calcite.avatica.Meta.StatementHandle h) throws org.apache.calcite.avatica.NoSuchStatementException
CalciteServergetStatement in interface CalciteServerh - Statement handleorg.apache.calcite.avatica.NoSuchStatementException - if handle does not represent a statementCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.