static class CalciteConnectionImpl.CalciteServerStatementImpl extends Object implements CalciteServerStatement
CalciteServerStatement.| Modifier and Type | Field and Description |
|---|---|
private AtomicBoolean |
cancelFlag |
private CalciteConnectionImpl |
connection |
private Iterator<Object> |
iterator |
private org.apache.calcite.avatica.Meta.Signature |
signature |
| Constructor and Description |
|---|
CalciteServerStatementImpl(CalciteConnectionImpl connection) |
| Modifier and Type | Method and Description |
|---|---|
CalcitePrepare.Context |
createPrepareContext()
Creates a context for preparing a statement for execution.
|
CalciteConnection |
getConnection()
Returns the connection.
|
Iterator<Object> |
getResultSet() |
org.apache.calcite.avatica.Meta.Signature |
getSignature() |
void |
setResultSet(Iterator<Object> iterator) |
void |
setSignature(org.apache.calcite.avatica.Meta.Signature signature) |
private final CalciteConnectionImpl connection
private org.apache.calcite.avatica.Meta.Signature signature
private final AtomicBoolean cancelFlag
CalciteServerStatementImpl(CalciteConnectionImpl connection)
public CalcitePrepare.Context createPrepareContext()
CalciteServerStatementcreatePrepareContext in interface CalciteServerStatementpublic CalciteConnection getConnection()
CalciteServerStatementgetConnection in interface CalciteServerStatementpublic void setSignature(org.apache.calcite.avatica.Meta.Signature signature)
setSignature in interface CalciteServerStatementpublic org.apache.calcite.avatica.Meta.Signature getSignature()
getSignature in interface CalciteServerStatementpublic Iterator<Object> getResultSet()
getResultSet in interface CalciteServerStatementpublic void setResultSet(Iterator<Object> iterator)
setResultSet in interface CalciteServerStatementCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.