Class FlightSql.ActionCancelQueryRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
org.apache.arrow.flight.sql.impl.FlightSql.ActionCancelQueryRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FlightSql.ActionCancelQueryRequestOrBuilder
Enclosing class:
FlightSql.ActionCancelQueryRequest

public static final class FlightSql.ActionCancelQueryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder> implements FlightSql.ActionCancelQueryRequestOrBuilder

 Request message for the "CancelQuery" action.

 Explicitly cancel a running query.

 This lets a single client explicitly cancel work, no matter how many clients
 are involved/whether the query is distributed or not, given server support.
 The transaction/statement is not rolled back; it is the application's job to
 commit or rollback as appropriate. This only indicates the client no longer
 wishes to read the remainder of the query results or continue submitting
 data.

 This command is idempotent.

 This command is deprecated since 13.0.0. Use the "CancelFlightInfo"
 action with DoAction instead.
 
Protobuf type arrow.flight.protocol.sql.ActionCancelQueryRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
    • getDefaultInstanceForType

      public FlightSql.ActionCancelQueryRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FlightSql.ActionCancelQueryRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FlightSql.ActionCancelQueryRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
    • mergeFrom

      public FlightSql.ActionCancelQueryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.ActionCancelQueryRequest.Builder>
      Throws:
      IOException
    • getInfo

      public com.google.protobuf.ByteString getInfo()
       The result of the GetFlightInfo RPC that initiated the query.
       XXX(ARROW-16902): this must be a serialized FlightInfo, but is
       rendered as bytes because Protobuf does not really support one
       DLL using Protobuf definitions from another DLL.
       
      bytes info = 1;
      Specified by:
      getInfo in interface FlightSql.ActionCancelQueryRequestOrBuilder
      Returns:
      The info.
    • setInfo

      public FlightSql.ActionCancelQueryRequest.Builder setInfo(com.google.protobuf.ByteString value)
       The result of the GetFlightInfo RPC that initiated the query.
       XXX(ARROW-16902): this must be a serialized FlightInfo, but is
       rendered as bytes because Protobuf does not really support one
       DLL using Protobuf definitions from another DLL.
       
      bytes info = 1;
      Parameters:
      value - The info to set.
      Returns:
      This builder for chaining.
    • clearInfo

       The result of the GetFlightInfo RPC that initiated the query.
       XXX(ARROW-16902): this must be a serialized FlightInfo, but is
       rendered as bytes because Protobuf does not really support one
       DLL using Protobuf definitions from another DLL.
       
      bytes info = 1;
      Returns:
      This builder for chaining.