public interface ProtobufMeta extends Meta
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.Meta.ConnectionHandle, Meta.ConnectionProperties, Meta.CursorFactory, Meta.DatabaseProperty, Meta.ExecuteBatchResult, Meta.ExecuteResult, Meta.Factory, Meta.Frame, Meta.MetaResultSet, Meta.Pat, Meta.PrepareCallback, Meta.Signature, Meta.StatementHandle, Meta.StatementType, Meta.Style
Modifier and Type | Method and Description |
---|---|
Meta.ExecuteBatchResult |
executeBatchProtobuf(Meta.StatementHandle h,
List<Requests.UpdateBatch> parameterValues)
Executes a batch of commands on a prepared statement.
|
closeConnection, closeStatement, commit, connectionSync, createIterable, createStatement, execute, execute, executeBatch, fetch, getAttributes, getBestRowIdentifier, getCatalogs, getClientInfoProperties, getColumnPrivileges, getColumns, getCrossReference, getDatabaseProperties, getExportedKeys, getFunctionColumns, getFunctions, getImportedKeys, getIndexInfo, getPrimaryKeys, getProcedureColumns, getProcedures, getPseudoColumns, getSchemas, getSuperTables, getSuperTypes, getTablePrivileges, getTables, getTableTypes, getTypeInfo, getUDTs, getVersionColumns, openConnection, prepare, prepareAndExecute, prepareAndExecute, prepareAndExecuteBatch, rollback, syncResults
Meta.ExecuteBatchResult executeBatchProtobuf(Meta.StatementHandle h, List<Requests.UpdateBatch> parameterValues) throws NoSuchStatementException
h
- Statement handleparameterValues
- A collection of list of typed values, one list per batchNoSuchStatementException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.