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() and
Meta.getSchemas(String, org.apache.calcite.avatica.Meta.Pat)
Meta.getTables(String, Meta.Pat, Meta.Pat, List)
Meta.getTableTypes()
return this response.
| Modifier and Type | Field and Description |
|---|---|
String |
connectionId |
Meta.Frame |
firstFrame |
boolean |
ownStatement |
Meta.Signature |
signature |
int |
statementId |
int |
updateCount |
| Constructor and Description |
|---|
Service.ResultSetResponse(String connectionId,
int statementId,
boolean ownStatement,
Meta.Signature signature,
Meta.Frame firstFrame,
int updateCount) |
public final String connectionId
public final int statementId
public final boolean ownStatement
public final Meta.Signature signature
public final Meta.Frame firstFrame
public final int updateCount
public Service.ResultSetResponse(String connectionId, int statementId, boolean ownStatement, Meta.Signature signature, Meta.Frame firstFrame, int updateCount)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.