Package org.apache.drill.exec.proto
Interface UserProtos.RunQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserProtos.RunQuery
,UserProtos.RunQuery.Builder
- Enclosing class:
- UserProtos
public static interface UserProtos.RunQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
Input for indicating the limit on a query's result set.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.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;
getType()
optional .exec.shared.QueryType type = 2;
boolean
Input for indicating the limit on a query's result set.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;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasResultsMode
boolean hasResultsMode()optional .exec.user.QueryResultsMode results_mode = 1;
- Returns:
- Whether the resultsMode field is set.
-
getResultsMode
UserProtos.QueryResultsMode getResultsMode()optional .exec.user.QueryResultsMode results_mode = 1;
- Returns:
- The resultsMode.
-
hasType
boolean hasType()optional .exec.shared.QueryType type = 2;
- Returns:
- Whether the type field is set.
-
getType
UserBitShared.QueryType getType()optional .exec.shared.QueryType type = 2;
- Returns:
- The type.
-
hasPlan
boolean hasPlan()Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;
- Returns:
- Whether the plan field is set.
-
getPlan
String getPlan()Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;
- Returns:
- The plan.
-
getPlanBytes
com.google.protobuf.ByteString getPlanBytes()Input for query type LOGICAL, PHYSICAL or SQL.
optional string plan = 3;
- Returns:
- The bytes for plan.
-
getFragmentsList
List<BitControl.PlanFragment> getFragmentsList()Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
-
getFragments
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
-
getFragmentsCount
int getFragmentsCount()Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
-
getFragmentsOrBuilderList
List<? extends BitControl.PlanFragmentOrBuilder> getFragmentsOrBuilderList()Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
-
getFragmentsOrBuilder
Input for query type EXECUTION. Input is a set of executable fragments.
repeated .exec.bit.control.PlanFragment fragments = 4;
-
hasPreparedStatementHandle
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;
- Returns:
- Whether the preparedStatementHandle field is set.
-
getPreparedStatementHandle
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;
- Returns:
- The preparedStatementHandle.
-
getPreparedStatementHandleOrBuilder
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;
-
hasAutolimitRowcount
boolean hasAutolimitRowcount()Input for indicating the limit on a query's result set.
optional int32 autolimit_rowcount = 6;
- Returns:
- Whether the autolimitRowcount field is set.
-
getAutolimitRowcount
int getAutolimitRowcount()Input for indicating the limit on a query's result set.
optional int32 autolimit_rowcount = 6;
- Returns:
- The autolimitRowcount.
-