Package org.apache.drill.exec.proto
Class BitControl.PlanFragment
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.drill.exec.proto.BitControl.PlanFragment
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,BitControl.PlanFragmentOrBuilder
- Enclosing class:
- BitControl
public static final class BitControl.PlanFragment
extends com.google.protobuf.GeneratedMessageV3
implements BitControl.PlanFragmentOrBuilder
Protobuf type
exec.bit.control.PlanFragment
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeexec.bit.control.PlanFragment
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 int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<BitControl.PlanFragment>
Deprecated.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
optional .exec.DrillbitEndpoint assignment = 10;
optional .exec.DrillbitEndpoint assignment = 10;
getCollector
(int index) repeated .exec.bit.control.Collector collector = 17;
int
repeated .exec.bit.control.Collector collector = 17;
repeated .exec.bit.control.Collector collector = 17;
getCollectorOrBuilder
(int index) repeated .exec.bit.control.Collector collector = 17;
List<? extends BitControl.CollectorOrBuilder>
repeated .exec.bit.control.Collector collector = 17;
optional .exec.bit.control.QueryContextInformation context = 16;
optional .exec.bit.control.QueryContextInformation context = 16;
float
optional float cpu_cost = 5;
optional .exec.shared.UserCredentials credentials = 14;
optional .exec.shared.UserCredentials credentials = 14;
static BitControl.PlanFragment
static final com.google.protobuf.Descriptors.Descriptor
float
optional float disk_cost = 6;
optional .exec.DrillbitEndpoint foreman = 11;
optional .exec.DrillbitEndpoint foreman = 11;
optional string fragment_json = 8;
com.google.protobuf.ByteString
optional string fragment_json = 8;
optional .exec.bit.FragmentHandle handle = 1;
optional .exec.bit.FragmentHandle handle = 1;
boolean
optional bool leaf_fragment = 9;
long
20 megslong
20 gigsfloat
optional float memory_cost = 7;
float
optional float network_cost = 4;
optional string options_json = 15;
com.google.protobuf.ByteString
optional string options_json = 15;
com.google.protobuf.Parser<BitControl.PlanFragment>
int
final com.google.protobuf.UnknownFieldSet
boolean
optional .exec.DrillbitEndpoint assignment = 10;
boolean
optional .exec.bit.control.QueryContextInformation context = 16;
boolean
optional float cpu_cost = 5;
boolean
optional .exec.shared.UserCredentials credentials = 14;
boolean
optional float disk_cost = 6;
boolean
optional .exec.DrillbitEndpoint foreman = 11;
boolean
optional string fragment_json = 8;
boolean
optional .exec.bit.FragmentHandle handle = 1;
int
hashCode()
boolean
optional bool leaf_fragment = 9;
boolean
20 megsboolean
20 gigsboolean
optional float memory_cost = 7;
boolean
optional float network_cost = 4;
boolean
optional string options_json = 15;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(BitControl.PlanFragment prototype) protected BitControl.PlanFragment.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static BitControl.PlanFragment
parseDelimitedFrom
(InputStream input) static BitControl.PlanFragment
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragment
parseFrom
(byte[] data) static BitControl.PlanFragment
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragment
parseFrom
(com.google.protobuf.ByteString data) static BitControl.PlanFragment
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragment
parseFrom
(com.google.protobuf.CodedInputStream input) static BitControl.PlanFragment
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragment
parseFrom
(InputStream input) static BitControl.PlanFragment
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragment
parseFrom
(ByteBuffer data) static BitControl.PlanFragment
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BitControl.PlanFragment>
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
-
HANDLE_FIELD_NUMBER
public static final int HANDLE_FIELD_NUMBER- See Also:
-
NETWORK_COST_FIELD_NUMBER
public static final int NETWORK_COST_FIELD_NUMBER- See Also:
-
CPU_COST_FIELD_NUMBER
public static final int CPU_COST_FIELD_NUMBER- See Also:
-
DISK_COST_FIELD_NUMBER
public static final int DISK_COST_FIELD_NUMBER- See Also:
-
MEMORY_COST_FIELD_NUMBER
public static final int MEMORY_COST_FIELD_NUMBER- See Also:
-
FRAGMENT_JSON_FIELD_NUMBER
public static final int FRAGMENT_JSON_FIELD_NUMBER- See Also:
-
LEAF_FRAGMENT_FIELD_NUMBER
public static final int LEAF_FRAGMENT_FIELD_NUMBER- See Also:
-
ASSIGNMENT_FIELD_NUMBER
public static final int ASSIGNMENT_FIELD_NUMBER- See Also:
-
FOREMAN_FIELD_NUMBER
public static final int FOREMAN_FIELD_NUMBER- See Also:
-
MEM_INITIAL_FIELD_NUMBER
public static final int MEM_INITIAL_FIELD_NUMBER- See Also:
-
MEM_MAX_FIELD_NUMBER
public static final int MEM_MAX_FIELD_NUMBER- See Also:
-
CREDENTIALS_FIELD_NUMBER
public static final int CREDENTIALS_FIELD_NUMBER- See Also:
-
OPTIONS_JSON_FIELD_NUMBER
public static final int OPTIONS_JSON_FIELD_NUMBER- See Also:
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER- See Also:
-
COLLECTOR_FIELD_NUMBER
public static final int COLLECTOR_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
-
hasHandle
public boolean hasHandle()optional .exec.bit.FragmentHandle handle = 1;
- Specified by:
hasHandle
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the handle field is set.
-
getHandle
optional .exec.bit.FragmentHandle handle = 1;
- Specified by:
getHandle
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The handle.
-
getHandleOrBuilder
optional .exec.bit.FragmentHandle handle = 1;
- Specified by:
getHandleOrBuilder
in interfaceBitControl.PlanFragmentOrBuilder
-
hasNetworkCost
public boolean hasNetworkCost()optional float network_cost = 4;
- Specified by:
hasNetworkCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the networkCost field is set.
-
getNetworkCost
public float getNetworkCost()optional float network_cost = 4;
- Specified by:
getNetworkCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The networkCost.
-
hasCpuCost
public boolean hasCpuCost()optional float cpu_cost = 5;
- Specified by:
hasCpuCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the cpuCost field is set.
-
getCpuCost
public float getCpuCost()optional float cpu_cost = 5;
- Specified by:
getCpuCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The cpuCost.
-
hasDiskCost
public boolean hasDiskCost()optional float disk_cost = 6;
- Specified by:
hasDiskCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the diskCost field is set.
-
getDiskCost
public float getDiskCost()optional float disk_cost = 6;
- Specified by:
getDiskCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The diskCost.
-
hasMemoryCost
public boolean hasMemoryCost()optional float memory_cost = 7;
- Specified by:
hasMemoryCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the memoryCost field is set.
-
getMemoryCost
public float getMemoryCost()optional float memory_cost = 7;
- Specified by:
getMemoryCost
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The memoryCost.
-
hasFragmentJson
public boolean hasFragmentJson()optional string fragment_json = 8;
- Specified by:
hasFragmentJson
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the fragmentJson field is set.
-
getFragmentJson
optional string fragment_json = 8;
- Specified by:
getFragmentJson
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The fragmentJson.
-
getFragmentJsonBytes
public com.google.protobuf.ByteString getFragmentJsonBytes()optional string fragment_json = 8;
- Specified by:
getFragmentJsonBytes
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The bytes for fragmentJson.
-
hasLeafFragment
public boolean hasLeafFragment()optional bool leaf_fragment = 9;
- Specified by:
hasLeafFragment
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the leafFragment field is set.
-
getLeafFragment
public boolean getLeafFragment()optional bool leaf_fragment = 9;
- Specified by:
getLeafFragment
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The leafFragment.
-
hasAssignment
public boolean hasAssignment()optional .exec.DrillbitEndpoint assignment = 10;
- Specified by:
hasAssignment
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the assignment field is set.
-
getAssignment
optional .exec.DrillbitEndpoint assignment = 10;
- Specified by:
getAssignment
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The assignment.
-
getAssignmentOrBuilder
optional .exec.DrillbitEndpoint assignment = 10;
- Specified by:
getAssignmentOrBuilder
in interfaceBitControl.PlanFragmentOrBuilder
-
hasForeman
public boolean hasForeman()optional .exec.DrillbitEndpoint foreman = 11;
- Specified by:
hasForeman
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the foreman field is set.
-
getForeman
optional .exec.DrillbitEndpoint foreman = 11;
- Specified by:
getForeman
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The foreman.
-
getForemanOrBuilder
optional .exec.DrillbitEndpoint foreman = 11;
- Specified by:
getForemanOrBuilder
in interfaceBitControl.PlanFragmentOrBuilder
-
hasMemInitial
public boolean hasMemInitial()20 megs
optional int64 mem_initial = 12 [default = 20000000];
- Specified by:
hasMemInitial
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the memInitial field is set.
-
getMemInitial
public long getMemInitial()20 megs
optional int64 mem_initial = 12 [default = 20000000];
- Specified by:
getMemInitial
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The memInitial.
-
hasMemMax
public boolean hasMemMax()20 gigs
optional int64 mem_max = 13 [default = 2000000000];
- Specified by:
hasMemMax
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the memMax field is set.
-
getMemMax
public long getMemMax()20 gigs
optional int64 mem_max = 13 [default = 2000000000];
- Specified by:
getMemMax
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The memMax.
-
hasCredentials
public boolean hasCredentials()optional .exec.shared.UserCredentials credentials = 14;
- Specified by:
hasCredentials
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the credentials field is set.
-
getCredentials
optional .exec.shared.UserCredentials credentials = 14;
- Specified by:
getCredentials
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The credentials.
-
getCredentialsOrBuilder
optional .exec.shared.UserCredentials credentials = 14;
- Specified by:
getCredentialsOrBuilder
in interfaceBitControl.PlanFragmentOrBuilder
-
hasOptionsJson
public boolean hasOptionsJson()optional string options_json = 15;
- Specified by:
hasOptionsJson
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the optionsJson field is set.
-
getOptionsJson
optional string options_json = 15;
- Specified by:
getOptionsJson
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The optionsJson.
-
getOptionsJsonBytes
public com.google.protobuf.ByteString getOptionsJsonBytes()optional string options_json = 15;
- Specified by:
getOptionsJsonBytes
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The bytes for optionsJson.
-
hasContext
public boolean hasContext()optional .exec.bit.control.QueryContextInformation context = 16;
- Specified by:
hasContext
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
optional .exec.bit.control.QueryContextInformation context = 16;
- Specified by:
getContext
in interfaceBitControl.PlanFragmentOrBuilder
- Returns:
- The context.
-
getContextOrBuilder
optional .exec.bit.control.QueryContextInformation context = 16;
- Specified by:
getContextOrBuilder
in interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorList
repeated .exec.bit.control.Collector collector = 17;
- Specified by:
getCollectorList
in interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorOrBuilderList
repeated .exec.bit.control.Collector collector = 17;
- Specified by:
getCollectorOrBuilderList
in interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorCount
public int getCollectorCount()repeated .exec.bit.control.Collector collector = 17;
- Specified by:
getCollectorCount
in interfaceBitControl.PlanFragmentOrBuilder
-
getCollector
repeated .exec.bit.control.Collector collector = 17;
- Specified by:
getCollector
in interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorOrBuilder
repeated .exec.bit.control.Collector collector = 17;
- Specified by:
getCollectorOrBuilder
in interfaceBitControl.PlanFragmentOrBuilder
-
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 BitControl.PlanFragment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BitControl.PlanFragment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BitControl.PlanFragment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BitControl.PlanFragment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BitControl.PlanFragment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BitControl.PlanFragment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BitControl.PlanFragment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BitControl.PlanFragment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BitControl.PlanFragment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BitControl.PlanFragment 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 BitControl.PlanFragment.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
-