Class UserProtos.RunQuery

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.drill.exec.proto.UserProtos.RunQuery
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, UserProtos.RunQueryOrBuilder
Enclosing class:
UserProtos

public static final class UserProtos.RunQuery extends com.google.protobuf.GeneratedMessageV3 implements UserProtos.RunQueryOrBuilder
 Request message for running a query.
 
Protobuf type exec.user.RunQuery
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasResultsMode

      public boolean hasResultsMode()
      optional .exec.user.QueryResultsMode results_mode = 1;
      Specified by:
      hasResultsMode in interface UserProtos.RunQueryOrBuilder
      Returns:
      Whether the resultsMode field is set.
    • getResultsMode

      public UserProtos.QueryResultsMode getResultsMode()
      optional .exec.user.QueryResultsMode results_mode = 1;
      Specified by:
      getResultsMode in interface UserProtos.RunQueryOrBuilder
      Returns:
      The resultsMode.
    • hasType

      public boolean hasType()
      optional .exec.shared.QueryType type = 2;
      Specified by:
      hasType in interface UserProtos.RunQueryOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public UserBitShared.QueryType getType()
      optional .exec.shared.QueryType type = 2;
      Specified by:
      getType in interface UserProtos.RunQueryOrBuilder
      Returns:
      The type.
    • hasPlan

      public boolean hasPlan()
       Input for query type LOGICAL, PHYSICAL or SQL.
       
      optional string plan = 3;
      Specified by:
      hasPlan in interface UserProtos.RunQueryOrBuilder
      Returns:
      Whether the plan field is set.
    • getPlan

      public String getPlan()
       Input for query type LOGICAL, PHYSICAL or SQL.
       
      optional string plan = 3;
      Specified by:
      getPlan in interface UserProtos.RunQueryOrBuilder
      Returns:
      The plan.
    • getPlanBytes

      public com.google.protobuf.ByteString getPlanBytes()
       Input for query type LOGICAL, PHYSICAL or SQL.
       
      optional string plan = 3;
      Specified by:
      getPlanBytes in interface UserProtos.RunQueryOrBuilder
      Returns:
      The bytes for plan.
    • getFragmentsList

      public List<BitControl.PlanFragment> getFragmentsList()
       Input for query type EXECUTION. Input is a set of executable fragments.
       
      repeated .exec.bit.control.PlanFragment fragments = 4;
      Specified by:
      getFragmentsList in interface UserProtos.RunQueryOrBuilder
    • getFragmentsOrBuilderList

      public List<? extends BitControl.PlanFragmentOrBuilder> getFragmentsOrBuilderList()
       Input for query type EXECUTION. Input is a set of executable fragments.
       
      repeated .exec.bit.control.PlanFragment fragments = 4;
      Specified by:
      getFragmentsOrBuilderList in interface UserProtos.RunQueryOrBuilder
    • getFragmentsCount

      public int getFragmentsCount()
       Input for query type EXECUTION. Input is a set of executable fragments.
       
      repeated .exec.bit.control.PlanFragment fragments = 4;
      Specified by:
      getFragmentsCount in interface UserProtos.RunQueryOrBuilder
    • getFragments

      public BitControl.PlanFragment getFragments(int index)
       Input for query type EXECUTION. Input is a set of executable fragments.
       
      repeated .exec.bit.control.PlanFragment fragments = 4;
      Specified by:
      getFragments in interface UserProtos.RunQueryOrBuilder
    • getFragmentsOrBuilder

      public BitControl.PlanFragmentOrBuilder getFragmentsOrBuilder(int index)
       Input for query type EXECUTION. Input is a set of executable fragments.
       
      repeated .exec.bit.control.PlanFragment fragments = 4;
      Specified by:
      getFragmentsOrBuilder in interface UserProtos.RunQueryOrBuilder
    • hasPreparedStatementHandle

      public boolean hasPreparedStatementHandle()
       Input for query type PREPARED_STATEMENT. Input is a prepared statement handle
       to state on server side which is returned in response to CreatePreparedStatementReq.
       
      optional .exec.user.PreparedStatementHandle prepared_statement_handle = 5;
      Specified by:
      hasPreparedStatementHandle in interface UserProtos.RunQueryOrBuilder
      Returns:
      Whether the preparedStatementHandle field is set.
    • getPreparedStatementHandle

      public UserProtos.PreparedStatementHandle getPreparedStatementHandle()
       Input for query type PREPARED_STATEMENT. Input is a prepared statement handle
       to state on server side which is returned in response to CreatePreparedStatementReq.
       
      optional .exec.user.PreparedStatementHandle prepared_statement_handle = 5;
      Specified by:
      getPreparedStatementHandle in interface UserProtos.RunQueryOrBuilder
      Returns:
      The preparedStatementHandle.
    • getPreparedStatementHandleOrBuilder

      public UserProtos.PreparedStatementHandleOrBuilder getPreparedStatementHandleOrBuilder()
       Input for query type PREPARED_STATEMENT. Input is a prepared statement handle
       to state on server side which is returned in response to CreatePreparedStatementReq.
       
      optional .exec.user.PreparedStatementHandle prepared_statement_handle = 5;
      Specified by:
      getPreparedStatementHandleOrBuilder in interface UserProtos.RunQueryOrBuilder
    • hasAutolimitRowcount

      public boolean hasAutolimitRowcount()
       Input for indicating the limit on a query's result set.
       
      optional int32 autolimit_rowcount = 6;
      Specified by:
      hasAutolimitRowcount in interface UserProtos.RunQueryOrBuilder
      Returns:
      Whether the autolimitRowcount field is set.
    • getAutolimitRowcount

      public int getAutolimitRowcount()
       Input for indicating the limit on a query's result set.
       
      optional int32 autolimit_rowcount = 6;
      Specified by:
      getAutolimitRowcount in interface UserProtos.RunQueryOrBuilder
      Returns:
      The autolimitRowcount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UserProtos.RunQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserProtos.RunQuery parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserProtos.RunQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserProtos.RunQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UserProtos.RunQuery.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UserProtos.RunQuery.Builder newBuilder()
    • newBuilder

      public static UserProtos.RunQuery.Builder newBuilder(UserProtos.RunQuery prototype)
    • toBuilder

      public UserProtos.RunQuery.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UserProtos.RunQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UserProtos.RunQuery getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UserProtos.RunQuery> parser()
    • getParserForType

      public com.google.protobuf.Parser<UserProtos.RunQuery> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public UserProtos.RunQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder