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