Get desktop application:
View/edit binary Protocol Buffers messages
Metadata for a parameter
Used in:
Base class for a column type
Used in:
Only present when name = STRUCT
Only present when name = ARRAY
Request for Meta#getCatalogs()
Request for Meta#closeConnection(Meta.ConnectionHandle)
Response to CloseConnectionRequest {
Request for Meta#closeStatement(Meta.StatementHandle)
Response to CloseStatementRequest
Used in:
,A value might be a TypedValue or an Array of TypedValue's
Used in:
deprecated, use array_value or scalar_value
Is an array value set?
Request for Meta#getColumns(String, org.apache.calcite.avatica.Meta.Pat, org.apache.calcite.avatica.Meta.Pat, org.apache.calcite.avatica.Meta.Pat).
Request to invoke a commit on a Connection
Response to a commit request
(message has no fields)
Details about a connection
Used in:
,field is a Boolean, need to discern null and default value
field is a Boolean, need to discern null and default value
Response to ConnectionSyncRequest
Request for Meta#createStatement(Meta.ConnectionHandle)
Response to CreateStatementRequest
Information necessary to convert an Iterable into a Calcite Cursor
Used in:
Used in:
Database property, list of functions the database provides for a certain operation
Used in:
Used in:
Request for Meta#getDatabaseProperties()
Response for Meta#getDatabaseProperties()
Send contextual information about some error over the wire from the server.
exception stacktraces, many for linked exceptions.
are there stacktraces contained?
human readable description
numeric identifier for error
five-character standard-defined value
A batch of updates is a list<list<typevalue>>
Response to a batch update request
Did the request fail because of no-cached statement
Request for Meta#execute(Meta.ConnectionHandle, list, long)
Deprecated, use the signed int instead.
The maximum number of rows to return in the first Frame
Response to PrepareAndExecuteRequest
Did the request fail because of no-cached statement
Request for Meta#fetch(Meta.StatementHandle, List, long, int)
Maximum number of rows to be returned in the frame. Negative means no limit. Deprecated!
Response to FetchRequest
Did the request fail because of no-cached statement
Did the request fail because of a cached-statement w/o ResultSet
A collection of rows
Used in:
,Enumeration corresponding to DatabaseMetaData operations
Used in:
Represents the breadth of arguments to DatabaseMetaData functions
Used in:
Used in:
Request for Meta#openConnection(Meta.ConnectionHandle, Map<String, String>)
Response to OpenConnectionRequest {
Request to prepare and execute a collection of sql statements.
Request for Meta#prepareAndExecute(Meta.StatementHandle, String, long, Meta.PrepareCallback)
Deprecated
The maximum number of rows that will be allowed for this query
The maximum number of rows that will be returned in the
Request for Meta.prepare(Meta.ConnectionHandle, String, long)
Deprecated
The maximum number of rows that will be allowed for this query
Response to PrepareRequest
Used in:
Used in:
,Response that contains a result set.
Used in:
-1 for normal result sets, else this response contains a dummy result set
with no signature nor other data.
Request to invoke rollback on a Connection
Response to a rollback request
(message has no fields)
A row is a collection of values
Used in:
Generic metadata for the server to return with each response.
Used in:
, , , , , , , , , , , , ,The host:port of the server
Request for Meta#getSchemas(String, org.apache.calcite.avatica.Meta.Pat)}
The severity of some unexpected outcome to an operation. Protobuf enum values must be unique across all other enums
Used in:
Results of preparing a statement
Used in:
,Used in:
Statement handle
Used in:
,Has to be consistent with Meta.StatementType
Used in:
Server doesn't have the statement with the ID from the request
Should the client fetch() to get more results
Request for Meta#getTableTypes()
Request for Request for Meta#getTables(String, org.apache.calcite.avatica.Meta.Pat, org.apache.calcite.avatica.Meta.Pat, java.util.List)
Having an empty type_list is distinct from a null type_list
Request for Meta#getTypeInfo()
Generic wrapper to support any SQL type. Struct-like to work around no polymorphism construct.
Used in:
, , ,The actual type that was serialized in the general attribute below
boolean
char/varchar
var-len encoding lets us shove anything from byte to long
includes numeric types and date/time types.
binary/varbinary
big numbers
a null object
The Array
If an Array, the representation for the array values
Differentiate between explicitly null (user-set) and implicitly null
Each command is a list of TypedValues
Used in:
Message which encapsulates another message to support a single RPC endpoint