Package org.apache.drill.exec.proto
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Request message for running a query.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final com.google.protobuf.Parser<UserProtos.RunQuery>
Deprecated.static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Input for indicating the limit on a query's result set.static UserProtos.RunQuery
static final com.google.protobuf.Descriptors.Descriptor
getFragments
(int index) Input for query type EXECUTION.int
Input for query type EXECUTION.Input for query type EXECUTION.getFragmentsOrBuilder
(int index) Input for query type EXECUTION.List<? extends BitControl.PlanFragmentOrBuilder>
Input for query type EXECUTION.com.google.protobuf.Parser<UserProtos.RunQuery>
getPlan()
Input for query type LOGICAL, PHYSICAL or SQL.com.google.protobuf.ByteString
Input for query type LOGICAL, PHYSICAL or SQL.Input for query type PREPARED_STATEMENT.Input for query type PREPARED_STATEMENT.optional .exec.user.QueryResultsMode results_mode = 1;
int
getType()
optional .exec.shared.QueryType type = 2;
final com.google.protobuf.UnknownFieldSet
boolean
Input for indicating the limit on a query's result set.int
hashCode()
boolean
hasPlan()
Input for query type LOGICAL, PHYSICAL or SQL.boolean
Input for query type PREPARED_STATEMENT.boolean
optional .exec.user.QueryResultsMode results_mode = 1;
boolean
hasType()
optional .exec.shared.QueryType type = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static UserProtos.RunQuery.Builder
static UserProtos.RunQuery.Builder
newBuilder
(UserProtos.RunQuery prototype) protected UserProtos.RunQuery.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UserProtos.RunQuery
parseDelimitedFrom
(InputStream input) static UserProtos.RunQuery
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQuery
parseFrom
(byte[] data) static UserProtos.RunQuery
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQuery
parseFrom
(com.google.protobuf.ByteString data) static UserProtos.RunQuery
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQuery
parseFrom
(com.google.protobuf.CodedInputStream input) static UserProtos.RunQuery
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQuery
parseFrom
(InputStream input) static UserProtos.RunQuery
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQuery
parseFrom
(ByteBuffer data) static UserProtos.RunQuery
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserProtos.RunQuery>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
RESULTS_MODE_FIELD_NUMBER
public static final int RESULTS_MODE_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
PLAN_FIELD_NUMBER
public static final int PLAN_FIELD_NUMBER- See Also:
-
FRAGMENTS_FIELD_NUMBER
public static final int FRAGMENTS_FIELD_NUMBER- See Also:
-
PREPARED_STATEMENT_HANDLE_FIELD_NUMBER
public static final int PREPARED_STATEMENT_HANDLE_FIELD_NUMBER- See Also:
-
AUTOLIMIT_ROWCOUNT_FIELD_NUMBER
public static final int AUTOLIMIT_ROWCOUNT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
hasResultsMode
public boolean hasResultsMode()optional .exec.user.QueryResultsMode results_mode = 1;
- Specified by:
hasResultsMode
in interfaceUserProtos.RunQueryOrBuilder
- Returns:
- Whether the resultsMode field is set.
-
getResultsMode
optional .exec.user.QueryResultsMode results_mode = 1;
- Specified by:
getResultsMode
in interfaceUserProtos.RunQueryOrBuilder
- Returns:
- The resultsMode.
-
hasType
public boolean hasType()optional .exec.shared.QueryType type = 2;
- Specified by:
hasType
in interfaceUserProtos.RunQueryOrBuilder
- Returns:
- Whether the type field is set.
-
getType
optional .exec.shared.QueryType type = 2;
- Specified by:
getType
in interfaceUserProtos.RunQueryOrBuilder
- Returns:
- The type.
-
hasPlan
public boolean hasPlan()Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;
- Specified by:
hasPlan
in interfaceUserProtos.RunQueryOrBuilder
- Returns:
- Whether the plan field is set.
-
getPlan
Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;
- Specified by:
getPlan
in interfaceUserProtos.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 interfaceUserProtos.RunQueryOrBuilder
- Returns:
- The bytes for plan.
-
getFragmentsList
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
- Specified by:
getFragmentsList
in interfaceUserProtos.RunQueryOrBuilder
-
getFragmentsOrBuilderList
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
- Specified by:
getFragmentsOrBuilderList
in interfaceUserProtos.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 interfaceUserProtos.RunQueryOrBuilder
-
getFragments
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
- Specified by:
getFragments
in interfaceUserProtos.RunQueryOrBuilder
-
getFragmentsOrBuilder
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
- Specified by:
getFragmentsOrBuilder
in interfaceUserProtos.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 interfaceUserProtos.RunQueryOrBuilder
- Returns:
- Whether the preparedStatementHandle field is set.
-
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 interfaceUserProtos.RunQueryOrBuilder
- Returns:
- The preparedStatementHandle.
-
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 interfaceUserProtos.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 interfaceUserProtos.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 interfaceUserProtos.RunQueryOrBuilder
- Returns:
- The autolimitRowcount.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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
- Throws:
IOException
-
parseFrom
public static UserProtos.RunQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserProtos.RunQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-