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
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final com.google.protobuf.Parser<UserProtos.RunQuery> Deprecated.static final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintInput for indicating the limit on a query's result set.static UserProtos.RunQuerystatic final com.google.protobuf.Descriptors.DescriptorgetFragments(int index) Input for query type EXECUTION.intInput 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.ByteStringInput 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;intgetType()optional .exec.shared.QueryType type = 2;final com.google.protobuf.UnknownFieldSetbooleanInput for indicating the limit on a query's result set.inthashCode()booleanhasPlan()Input for query type LOGICAL, PHYSICAL or SQL.booleanInput for query type PREPARED_STATEMENT.booleanoptional .exec.user.QueryResultsMode results_mode = 1;booleanhasType()optional .exec.shared.QueryType type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic UserProtos.RunQuery.Builderstatic UserProtos.RunQuery.BuildernewBuilder(UserProtos.RunQuery prototype) protected UserProtos.RunQuery.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UserProtos.RunQueryparseDelimitedFrom(InputStream input) static UserProtos.RunQueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQueryparseFrom(byte[] data) static UserProtos.RunQueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQueryparseFrom(com.google.protobuf.ByteString data) static UserProtos.RunQueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQueryparseFrom(com.google.protobuf.CodedInputStream input) static UserProtos.RunQueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQueryparseFrom(InputStream input) static UserProtos.RunQueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserProtos.RunQueryparseFrom(ByteBuffer data) static UserProtos.RunQueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserProtos.RunQuery> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasResultsMode
public boolean hasResultsMode()optional .exec.user.QueryResultsMode results_mode = 1;- Specified by:
hasResultsModein interfaceUserProtos.RunQueryOrBuilder- Returns:
- Whether the resultsMode field is set.
-
getResultsMode
optional .exec.user.QueryResultsMode results_mode = 1;- Specified by:
getResultsModein interfaceUserProtos.RunQueryOrBuilder- Returns:
- The resultsMode.
-
hasType
public boolean hasType()optional .exec.shared.QueryType type = 2;- Specified by:
hasTypein interfaceUserProtos.RunQueryOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional .exec.shared.QueryType type = 2;- Specified by:
getTypein interfaceUserProtos.RunQueryOrBuilder- Returns:
- The type.
-
hasPlan
public boolean hasPlan()Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;- Specified by:
hasPlanin interfaceUserProtos.RunQueryOrBuilder- Returns:
- Whether the plan field is set.
-
getPlan
Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;- Specified by:
getPlanin 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:
getPlanBytesin 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:
getFragmentsListin interfaceUserProtos.RunQueryOrBuilder
-
getFragmentsOrBuilderList
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;- Specified by:
getFragmentsOrBuilderListin 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:
getFragmentsCountin interfaceUserProtos.RunQueryOrBuilder
-
getFragments
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;- Specified by:
getFragmentsin interfaceUserProtos.RunQueryOrBuilder
-
getFragmentsOrBuilder
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;- Specified by:
getFragmentsOrBuilderin 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:
hasPreparedStatementHandlein 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:
getPreparedStatementHandlein 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:
getPreparedStatementHandleOrBuilderin interfaceUserProtos.RunQueryOrBuilder
-
hasAutolimitRowcount
public boolean hasAutolimitRowcount()Input for indicating the limit on a query's result set.
optional int32 autolimit_rowcount = 6;- Specified by:
hasAutolimitRowcountin 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:
getAutolimitRowcountin interfaceUserProtos.RunQueryOrBuilder- Returns:
- The autolimitRowcount.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserProtos.RunQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-