Class Service.ResultSetResponse
java.lang.Object
org.apache.calcite.avatica.remote.Service.Base
org.apache.calcite.avatica.remote.Service.Response
org.apache.calcite.avatica.remote.Service.ResultSetResponse
- Enclosing interface:
- Service
Response that contains a result set.
Regular result sets have updateCount -1;
any other value means a dummy result set that is just a count, and has
no signature and no other data.
Several types of request, including
Meta.getCatalogs(Meta.ConnectionHandle) and
Meta.getSchemas(Meta.ConnectionHandle, String, org.apache.calcite.avatica.Meta.Pat)
Meta.getTables(Meta.ConnectionHandle, String, Meta.Pat, Meta.Pat, List)
Meta.getTableTypes(Meta.ConnectionHandle)
return this response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringfinal Meta.Framefinal booleanfinal Meta.Signaturefinal intfinal long -
Constructor Summary
ConstructorsConstructorDescriptionResultSetResponse(String connectionId, int statementId, boolean ownStatement, Meta.Signature signature, Meta.Frame firstFrame, long updateCount, Service.RpcMetadataResponse rpcMetadata) -
Method Summary
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
Field Details
-
connectionId
-
statementId
public final int statementId -
ownStatement
public final boolean ownStatement -
signature
-
firstFrame
-
updateCount
public final long updateCount -
rpcMetadata
-
-
Constructor Details
-
ResultSetResponse
public ResultSetResponse(String connectionId, int statementId, boolean ownStatement, Meta.Signature signature, Meta.Frame firstFrame, long updateCount, Service.RpcMetadataResponse rpcMetadata)
-
-
Method Details