Package org.apache.drill.exec.proto
Interface UserBitShared.QueryInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserBitShared.QueryInfo
,UserBitShared.QueryInfo.Builder
- Enclosing class:
- UserBitShared
public static interface UserBitShared.QueryInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .exec.DrillbitEndpoint foreman = 5;
optional .exec.DrillbitEndpoint foreman = 5;
optional string options_json = 6;
com.google.protobuf.ByteString
optional string options_json = 6;
getQuery()
optional string query = 1;
com.google.protobuf.ByteString
optional string query = 1;
optional string queue_name = 8 [default = "-"];
com.google.protobuf.ByteString
optional string queue_name = 8 [default = "-"];
long
getStart()
optional int64 start = 2;
getState()
optional .exec.shared.QueryResult.QueryState state = 3;
double
optional double total_cost = 7;
getUser()
optional string user = 4 [default = "-"];
com.google.protobuf.ByteString
optional string user = 4 [default = "-"];
boolean
optional .exec.DrillbitEndpoint foreman = 5;
boolean
optional string options_json = 6;
boolean
hasQuery()
optional string query = 1;
boolean
optional string queue_name = 8 [default = "-"];
boolean
hasStart()
optional int64 start = 2;
boolean
hasState()
optional .exec.shared.QueryResult.QueryState state = 3;
boolean
optional double total_cost = 7;
boolean
hasUser()
optional string user = 4 [default = "-"];
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
-
hasQuery
boolean hasQuery()optional string query = 1;
- Returns:
- Whether the query field is set.
-
getQuery
String getQuery()optional string query = 1;
- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()optional string query = 1;
- Returns:
- The bytes for query.
-
hasStart
boolean hasStart()optional int64 start = 2;
- Returns:
- Whether the start field is set.
-
getStart
long getStart()optional int64 start = 2;
- Returns:
- The start.
-
hasState
boolean hasState()optional .exec.shared.QueryResult.QueryState state = 3;
- Returns:
- Whether the state field is set.
-
getState
UserBitShared.QueryResult.QueryState getState()optional .exec.shared.QueryResult.QueryState state = 3;
- Returns:
- The state.
-
hasUser
boolean hasUser()optional string user = 4 [default = "-"];
- Returns:
- Whether the user field is set.
-
getUser
String getUser()optional string user = 4 [default = "-"];
- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()optional string user = 4 [default = "-"];
- Returns:
- The bytes for user.
-
hasForeman
boolean hasForeman()optional .exec.DrillbitEndpoint foreman = 5;
- Returns:
- Whether the foreman field is set.
-
getForeman
CoordinationProtos.DrillbitEndpoint getForeman()optional .exec.DrillbitEndpoint foreman = 5;
- Returns:
- The foreman.
-
getForemanOrBuilder
CoordinationProtos.DrillbitEndpointOrBuilder getForemanOrBuilder()optional .exec.DrillbitEndpoint foreman = 5;
-
hasOptionsJson
boolean hasOptionsJson()optional string options_json = 6;
- Returns:
- Whether the optionsJson field is set.
-
getOptionsJson
String getOptionsJson()optional string options_json = 6;
- Returns:
- The optionsJson.
-
getOptionsJsonBytes
com.google.protobuf.ByteString getOptionsJsonBytes()optional string options_json = 6;
- Returns:
- The bytes for optionsJson.
-
hasTotalCost
boolean hasTotalCost()optional double total_cost = 7;
- Returns:
- Whether the totalCost field is set.
-
getTotalCost
double getTotalCost()optional double total_cost = 7;
- Returns:
- The totalCost.
-
hasQueueName
boolean hasQueueName()optional string queue_name = 8 [default = "-"];
- Returns:
- Whether the queueName field is set.
-
getQueueName
String getQueueName()optional string queue_name = 8 [default = "-"];
- Returns:
- The queueName.
-
getQueueNameBytes
com.google.protobuf.ByteString getQueueNameBytes()optional string queue_name = 8 [default = "-"];
- Returns:
- The bytes for queueName.
-