Interface ProtobufMeta

All Superinterfaces:
Meta

public interface ProtobufMeta extends Meta
An extension of Meta which allows for native processing of calls with the Protobuf API objects instead of the POJOS (to avoid object translation). In the write-path, performing this conversion tends to represent a signficant portion of execution time. The introduction of this interface is to serve the purose of gradual migration to Meta implementations that can naturally function over Protobuf objects instead of the POJOs.
  • Method Details

    • executeBatchProtobuf

      Meta.ExecuteBatchResult executeBatchProtobuf(Meta.StatementHandle h, List<org.apache.calcite.avatica.proto.Requests.UpdateBatch> parameterValues) throws NoSuchStatementException
      Executes a batch of commands on a prepared statement.
      Parameters:
      h - Statement handle
      parameterValues - A collection of list of typed values, one list per batch
      Returns:
      An array of update counts containing one element for each command in the batch.
      Throws:
      NoSuchStatementException