Class UserBitShared.QueryResult

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

public static final class UserBitShared.QueryResult extends com.google.protobuf.GeneratedMessageV3 implements UserBitShared.QueryResultOrBuilder
 Used by the server to report informations about the query state to the client
 
Protobuf type exec.shared.QueryResult
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
    • hasQueryState

      public boolean hasQueryState()
      optional .exec.shared.QueryResult.QueryState query_state = 1;
      Specified by:
      hasQueryState in interface UserBitShared.QueryResultOrBuilder
      Returns:
      Whether the queryState field is set.
    • getQueryState

      public UserBitShared.QueryResult.QueryState getQueryState()
      optional .exec.shared.QueryResult.QueryState query_state = 1;
      Specified by:
      getQueryState in interface UserBitShared.QueryResultOrBuilder
      Returns:
      The queryState.
    • hasQueryId

      public boolean hasQueryId()
      optional .exec.shared.QueryId query_id = 2;
      Specified by:
      hasQueryId in interface UserBitShared.QueryResultOrBuilder
      Returns:
      Whether the queryId field is set.
    • getQueryId

      public UserBitShared.QueryId getQueryId()
      optional .exec.shared.QueryId query_id = 2;
      Specified by:
      getQueryId in interface UserBitShared.QueryResultOrBuilder
      Returns:
      The queryId.
    • getQueryIdOrBuilder

      public UserBitShared.QueryIdOrBuilder getQueryIdOrBuilder()
      optional .exec.shared.QueryId query_id = 2;
      Specified by:
      getQueryIdOrBuilder in interface UserBitShared.QueryResultOrBuilder
    • getErrorList

      public List<UserBitShared.DrillPBError> getErrorList()
      repeated .exec.shared.DrillPBError error = 3;
      Specified by:
      getErrorList in interface UserBitShared.QueryResultOrBuilder
    • getErrorOrBuilderList

      public List<? extends UserBitShared.DrillPBErrorOrBuilder> getErrorOrBuilderList()
      repeated .exec.shared.DrillPBError error = 3;
      Specified by:
      getErrorOrBuilderList in interface UserBitShared.QueryResultOrBuilder
    • getErrorCount

      public int getErrorCount()
      repeated .exec.shared.DrillPBError error = 3;
      Specified by:
      getErrorCount in interface UserBitShared.QueryResultOrBuilder
    • getError

      public UserBitShared.DrillPBError getError(int index)
      repeated .exec.shared.DrillPBError error = 3;
      Specified by:
      getError in interface UserBitShared.QueryResultOrBuilder
    • getErrorOrBuilder

      public UserBitShared.DrillPBErrorOrBuilder getErrorOrBuilder(int index)
      repeated .exec.shared.DrillPBError error = 3;
      Specified by:
      getErrorOrBuilder in interface UserBitShared.QueryResultOrBuilder
    • 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 UserBitShared.QueryResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static UserBitShared.QueryResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static UserBitShared.QueryResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static UserBitShared.QueryResult.Builder newBuilder()
    • newBuilder

      public static UserBitShared.QueryResult.Builder newBuilder(UserBitShared.QueryResult prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static UserBitShared.QueryResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UserBitShared.QueryResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<UserBitShared.QueryResult> 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 UserBitShared.QueryResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder