Package com.alibaba.wasp.protobuf.generated.ClientProtos

Examples of com.alibaba.wasp.protobuf.generated.ClientProtos.ExecuteRequest


  /**
   * @see java.util.concurrent.Callable#call()
   */
  @Override
  public ExecuteResponse call() throws IOException {
    ExecuteRequest request = null;
    if(isTransaction) {
      request = RequestConverter.buildExecuteRequest(sqls, sessionId, true);
    } else {
      request = RequestConverter.buildExecuteRequest(sql, model, fetchSize, sessionId);
    }
View Full Code Here


   * Close
   */
  @Override
  public void close() throws IOException {
    if (sessionId != null) {
      ExecuteRequest request = RequestConverter.buildExecuteRequest(sessionId,
          sql, true);
      try {
        server.execute(null, request);
      } catch (ServiceException e) {
        throw ProtobufUtil.getRemoteException(e);
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.protobuf.generated.ClientProtos.ExecuteRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.