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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeexec.bit.control.PlanFragmentNested 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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<BitControl.PlanFragment> Deprecated.Fields 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 TypeMethodDescriptionbooleanoptional .exec.DrillbitEndpoint assignment = 10;optional .exec.DrillbitEndpoint assignment = 10;getCollector(int index) repeated .exec.bit.control.Collector collector = 17;intrepeated .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;floatoptional float cpu_cost = 5;optional .exec.shared.UserCredentials credentials = 14;optional .exec.shared.UserCredentials credentials = 14;static BitControl.PlanFragmentstatic final com.google.protobuf.Descriptors.Descriptorfloatoptional float disk_cost = 6;optional .exec.DrillbitEndpoint foreman = 11;optional .exec.DrillbitEndpoint foreman = 11;optional string fragment_json = 8;com.google.protobuf.ByteStringoptional string fragment_json = 8;optional .exec.bit.FragmentHandle handle = 1;optional .exec.bit.FragmentHandle handle = 1;booleanoptional bool leaf_fragment = 9;long20 megslong20 gigsfloatoptional float memory_cost = 7;floatoptional float network_cost = 4;optional string options_json = 15;com.google.protobuf.ByteStringoptional string options_json = 15;com.google.protobuf.Parser<BitControl.PlanFragment> intfinal com.google.protobuf.UnknownFieldSetbooleanoptional .exec.DrillbitEndpoint assignment = 10;booleanoptional .exec.bit.control.QueryContextInformation context = 16;booleanoptional float cpu_cost = 5;booleanoptional .exec.shared.UserCredentials credentials = 14;booleanoptional float disk_cost = 6;booleanoptional .exec.DrillbitEndpoint foreman = 11;booleanoptional string fragment_json = 8;booleanoptional .exec.bit.FragmentHandle handle = 1;inthashCode()booleanoptional bool leaf_fragment = 9;boolean20 megsboolean20 gigsbooleanoptional float memory_cost = 7;booleanoptional float network_cost = 4;booleanoptional string options_json = 15;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(BitControl.PlanFragment prototype) protected BitControl.PlanFragment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static BitControl.PlanFragmentparseDelimitedFrom(InputStream input) static BitControl.PlanFragmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragmentparseFrom(byte[] data) static BitControl.PlanFragmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragmentparseFrom(com.google.protobuf.ByteString data) static BitControl.PlanFragmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragmentparseFrom(com.google.protobuf.CodedInputStream input) static BitControl.PlanFragmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragmentparseFrom(InputStream input) static BitControl.PlanFragmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BitControl.PlanFragmentparseFrom(ByteBuffer data) static BitControl.PlanFragmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BitControl.PlanFragment> 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
-
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:
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
-
hasHandle
public boolean hasHandle()optional .exec.bit.FragmentHandle handle = 1;- Specified by:
hasHandlein interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the handle field is set.
-
getHandle
optional .exec.bit.FragmentHandle handle = 1;- Specified by:
getHandlein interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The handle.
-
getHandleOrBuilder
optional .exec.bit.FragmentHandle handle = 1;- Specified by:
getHandleOrBuilderin interfaceBitControl.PlanFragmentOrBuilder
-
hasNetworkCost
public boolean hasNetworkCost()optional float network_cost = 4;- Specified by:
hasNetworkCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the networkCost field is set.
-
getNetworkCost
public float getNetworkCost()optional float network_cost = 4;- Specified by:
getNetworkCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The networkCost.
-
hasCpuCost
public boolean hasCpuCost()optional float cpu_cost = 5;- Specified by:
hasCpuCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the cpuCost field is set.
-
getCpuCost
public float getCpuCost()optional float cpu_cost = 5;- Specified by:
getCpuCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The cpuCost.
-
hasDiskCost
public boolean hasDiskCost()optional float disk_cost = 6;- Specified by:
hasDiskCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the diskCost field is set.
-
getDiskCost
public float getDiskCost()optional float disk_cost = 6;- Specified by:
getDiskCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The diskCost.
-
hasMemoryCost
public boolean hasMemoryCost()optional float memory_cost = 7;- Specified by:
hasMemoryCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the memoryCost field is set.
-
getMemoryCost
public float getMemoryCost()optional float memory_cost = 7;- Specified by:
getMemoryCostin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The memoryCost.
-
hasFragmentJson
public boolean hasFragmentJson()optional string fragment_json = 8;- Specified by:
hasFragmentJsonin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the fragmentJson field is set.
-
getFragmentJson
optional string fragment_json = 8;- Specified by:
getFragmentJsonin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The fragmentJson.
-
getFragmentJsonBytes
public com.google.protobuf.ByteString getFragmentJsonBytes()optional string fragment_json = 8;- Specified by:
getFragmentJsonBytesin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The bytes for fragmentJson.
-
hasLeafFragment
public boolean hasLeafFragment()optional bool leaf_fragment = 9;- Specified by:
hasLeafFragmentin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the leafFragment field is set.
-
getLeafFragment
public boolean getLeafFragment()optional bool leaf_fragment = 9;- Specified by:
getLeafFragmentin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The leafFragment.
-
hasAssignment
public boolean hasAssignment()optional .exec.DrillbitEndpoint assignment = 10;- Specified by:
hasAssignmentin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the assignment field is set.
-
getAssignment
optional .exec.DrillbitEndpoint assignment = 10;- Specified by:
getAssignmentin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The assignment.
-
getAssignmentOrBuilder
optional .exec.DrillbitEndpoint assignment = 10;- Specified by:
getAssignmentOrBuilderin interfaceBitControl.PlanFragmentOrBuilder
-
hasForeman
public boolean hasForeman()optional .exec.DrillbitEndpoint foreman = 11;- Specified by:
hasForemanin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the foreman field is set.
-
getForeman
optional .exec.DrillbitEndpoint foreman = 11;- Specified by:
getForemanin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The foreman.
-
getForemanOrBuilder
optional .exec.DrillbitEndpoint foreman = 11;- Specified by:
getForemanOrBuilderin interfaceBitControl.PlanFragmentOrBuilder
-
hasMemInitial
public boolean hasMemInitial()20 megs
optional int64 mem_initial = 12 [default = 20000000];- Specified by:
hasMemInitialin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the memInitial field is set.
-
getMemInitial
public long getMemInitial()20 megs
optional int64 mem_initial = 12 [default = 20000000];- Specified by:
getMemInitialin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The memInitial.
-
hasMemMax
public boolean hasMemMax()20 gigs
optional int64 mem_max = 13 [default = 2000000000];- Specified by:
hasMemMaxin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the memMax field is set.
-
getMemMax
public long getMemMax()20 gigs
optional int64 mem_max = 13 [default = 2000000000];- Specified by:
getMemMaxin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The memMax.
-
hasCredentials
public boolean hasCredentials()optional .exec.shared.UserCredentials credentials = 14;- Specified by:
hasCredentialsin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the credentials field is set.
-
getCredentials
optional .exec.shared.UserCredentials credentials = 14;- Specified by:
getCredentialsin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The credentials.
-
getCredentialsOrBuilder
optional .exec.shared.UserCredentials credentials = 14;- Specified by:
getCredentialsOrBuilderin interfaceBitControl.PlanFragmentOrBuilder
-
hasOptionsJson
public boolean hasOptionsJson()optional string options_json = 15;- Specified by:
hasOptionsJsonin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the optionsJson field is set.
-
getOptionsJson
optional string options_json = 15;- Specified by:
getOptionsJsonin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The optionsJson.
-
getOptionsJsonBytes
public com.google.protobuf.ByteString getOptionsJsonBytes()optional string options_json = 15;- Specified by:
getOptionsJsonBytesin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The bytes for optionsJson.
-
hasContext
public boolean hasContext()optional .exec.bit.control.QueryContextInformation context = 16;- Specified by:
hasContextin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- Whether the context field is set.
-
getContext
optional .exec.bit.control.QueryContextInformation context = 16;- Specified by:
getContextin interfaceBitControl.PlanFragmentOrBuilder- Returns:
- The context.
-
getContextOrBuilder
optional .exec.bit.control.QueryContextInformation context = 16;- Specified by:
getContextOrBuilderin interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorList
repeated .exec.bit.control.Collector collector = 17;- Specified by:
getCollectorListin interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorOrBuilderList
repeated .exec.bit.control.Collector collector = 17;- Specified by:
getCollectorOrBuilderListin interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorCount
public int getCollectorCount()repeated .exec.bit.control.Collector collector = 17;- Specified by:
getCollectorCountin interfaceBitControl.PlanFragmentOrBuilder
-
getCollector
repeated .exec.bit.control.Collector collector = 17;- Specified by:
getCollectorin interfaceBitControl.PlanFragmentOrBuilder
-
getCollectorOrBuilder
repeated .exec.bit.control.Collector collector = 17;- Specified by:
getCollectorOrBuilderin interfaceBitControl.PlanFragmentOrBuilder
-
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 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:
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 BitControl.PlanFragment.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
-