public static class Service.ResultSetResponse extends Service.Response
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.
Modifier and Type | Field and Description |
---|---|
String |
connectionId |
Meta.Frame |
firstFrame |
boolean |
ownStatement |
Service.RpcMetadataResponse |
rpcMetadata |
Meta.Signature |
signature |
int |
statementId |
long |
updateCount |
Constructor and Description |
---|
ResultSetResponse(String connectionId,
int statementId,
boolean ownStatement,
Meta.Signature signature,
Meta.Frame firstFrame,
long updateCount,
Service.RpcMetadataResponse rpcMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
p, p, p, p
public final String connectionId
public final int statementId
public final boolean ownStatement
public final Meta.Signature signature
public final Meta.Frame firstFrame
public final long updateCount
public final Service.RpcMetadataResponse rpcMetadata
public ResultSetResponse(String connectionId, int statementId, boolean ownStatement, Meta.Signature signature, Meta.Frame firstFrame, long updateCount, Service.RpcMetadataResponse rpcMetadata)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.