Package org.apache.drill.exec.proto
Class BitData.RuntimeFilterBDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
org.apache.drill.exec.proto.BitData.RuntimeFilterBDef.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,BitData.RuntimeFilterBDefOrBuilder
- Enclosing class:
- BitData.RuntimeFilterBDef
public static final class BitData.RuntimeFilterBDef.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
implements BitData.RuntimeFilterBDefOrBuilder
Protobuf type
exec.bit.data.RuntimeFilterBDef
-
Method Summary
Modifier and TypeMethodDescriptionaddAllBloomFilterSizeInBytes
(Iterable<? extends Integer> values) repeated int32 bloom_filter_size_in_bytes = 5;
addAllProbeFields
(Iterable<String> values) probe fields with corresponding BloomFiltersaddBloomFilterSizeInBytes
(int value) repeated int32 bloom_filter_size_in_bytes = 5;
addProbeFields
(String value) probe fields with corresponding BloomFiltersaddProbeFieldsBytes
(com.google.protobuf.ByteString value) probe fields with corresponding BloomFiltersaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated int32 bloom_filter_size_in_bytes = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) the operator id of the HashJoin which generates this RuntimeFilteroptional int32 major_fragment_id = 2;
optional int32 minor_fragment_id = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) probe fields with corresponding BloomFiltersoptional .exec.shared.QueryId query_id = 1;
the runtime filter identifiertrue means sending to foreman,false means sending to scan nodesclone()
int
getBloomFilterSizeInBytes
(int index) repeated int32 bloom_filter_size_in_bytes = 5;
int
repeated int32 bloom_filter_size_in_bytes = 5;
repeated int32 bloom_filter_size_in_bytes = 5;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
the operator id of the HashJoin which generates this RuntimeFilterint
optional int32 major_fragment_id = 2;
int
optional int32 minor_fragment_id = 3;
getProbeFields
(int index) probe fields with corresponding BloomFilterscom.google.protobuf.ByteString
getProbeFieldsBytes
(int index) probe fields with corresponding BloomFiltersint
probe fields with corresponding BloomFilterscom.google.protobuf.ProtocolStringList
probe fields with corresponding BloomFiltersoptional .exec.shared.QueryId query_id = 1;
optional .exec.shared.QueryId query_id = 1;
optional .exec.shared.QueryId query_id = 1;
long
the runtime filter identifierboolean
true means sending to foreman,false means sending to scan nodesboolean
the operator id of the HashJoin which generates this RuntimeFilterboolean
optional int32 major_fragment_id = 2;
boolean
optional int32 minor_fragment_id = 3;
boolean
optional .exec.shared.QueryId query_id = 1;
boolean
the runtime filter identifierboolean
true means sending to foreman,false means sending to scan nodesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) optional .exec.shared.QueryId query_id = 1;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBloomFilterSizeInBytes
(int index, int value) repeated int32 bloom_filter_size_in_bytes = 5;
setHjOpId
(int value) the operator id of the HashJoin which generates this RuntimeFiltersetMajorFragmentId
(int value) optional int32 major_fragment_id = 2;
setMinorFragmentId
(int value) optional int32 minor_fragment_id = 3;
setProbeFields
(int index, String value) probe fields with corresponding BloomFilterssetQueryId
(UserBitShared.QueryId value) optional .exec.shared.QueryId query_id = 1;
setQueryId
(UserBitShared.QueryId.Builder builderForValue) optional .exec.shared.QueryId query_id = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRfIdentifier
(long value) the runtime filter identifiersetToForeman
(boolean value) true means sending to foreman,false means sending to scan nodessetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<BitData.RuntimeFilterBDef.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
setField
public BitData.RuntimeFilterBDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
clearField
public BitData.RuntimeFilterBDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
clearOneof
public BitData.RuntimeFilterBDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
setRepeatedField
public BitData.RuntimeFilterBDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
addRepeatedField
public BitData.RuntimeFilterBDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitData.RuntimeFilterBDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
mergeFrom
public BitData.RuntimeFilterBDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitData.RuntimeFilterBDef.Builder>
- Throws:
IOException
-
hasQueryId
public boolean hasQueryId()optional .exec.shared.QueryId query_id = 1;
- Specified by:
hasQueryId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- Whether the queryId field is set.
-
getQueryId
optional .exec.shared.QueryId query_id = 1;
- Specified by:
getQueryId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The queryId.
-
clearQueryId
optional .exec.shared.QueryId query_id = 1;
-
getQueryIdBuilder
optional .exec.shared.QueryId query_id = 1;
-
getQueryIdOrBuilder
optional .exec.shared.QueryId query_id = 1;
- Specified by:
getQueryIdOrBuilder
in interfaceBitData.RuntimeFilterBDefOrBuilder
-
hasMajorFragmentId
public boolean hasMajorFragmentId()optional int32 major_fragment_id = 2;
- Specified by:
hasMajorFragmentId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- Whether the majorFragmentId field is set.
-
getMajorFragmentId
public int getMajorFragmentId()optional int32 major_fragment_id = 2;
- Specified by:
getMajorFragmentId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The majorFragmentId.
-
setMajorFragmentId
optional int32 major_fragment_id = 2;
- Parameters:
value
- The majorFragmentId to set.- Returns:
- This builder for chaining.
-
clearMajorFragmentId
optional int32 major_fragment_id = 2;
- Returns:
- This builder for chaining.
-
hasMinorFragmentId
public boolean hasMinorFragmentId()optional int32 minor_fragment_id = 3;
- Specified by:
hasMinorFragmentId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- Whether the minorFragmentId field is set.
-
getMinorFragmentId
public int getMinorFragmentId()optional int32 minor_fragment_id = 3;
- Specified by:
getMinorFragmentId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The minorFragmentId.
-
setMinorFragmentId
optional int32 minor_fragment_id = 3;
- Parameters:
value
- The minorFragmentId to set.- Returns:
- This builder for chaining.
-
clearMinorFragmentId
optional int32 minor_fragment_id = 3;
- Returns:
- This builder for chaining.
-
hasToForeman
public boolean hasToForeman()true means sending to foreman,false means sending to scan nodes
optional bool to_foreman = 4;
- Specified by:
hasToForeman
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- Whether the toForeman field is set.
-
getToForeman
public boolean getToForeman()true means sending to foreman,false means sending to scan nodes
optional bool to_foreman = 4;
- Specified by:
getToForeman
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The toForeman.
-
setToForeman
true means sending to foreman,false means sending to scan nodes
optional bool to_foreman = 4;
- Parameters:
value
- The toForeman to set.- Returns:
- This builder for chaining.
-
clearToForeman
true means sending to foreman,false means sending to scan nodes
optional bool to_foreman = 4;
- Returns:
- This builder for chaining.
-
getBloomFilterSizeInBytesList
repeated int32 bloom_filter_size_in_bytes = 5;
- Specified by:
getBloomFilterSizeInBytesList
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- A list containing the bloomFilterSizeInBytes.
-
getBloomFilterSizeInBytesCount
public int getBloomFilterSizeInBytesCount()repeated int32 bloom_filter_size_in_bytes = 5;
- Specified by:
getBloomFilterSizeInBytesCount
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The count of bloomFilterSizeInBytes.
-
getBloomFilterSizeInBytes
public int getBloomFilterSizeInBytes(int index) repeated int32 bloom_filter_size_in_bytes = 5;
- Specified by:
getBloomFilterSizeInBytes
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The bloomFilterSizeInBytes at the given index.
-
setBloomFilterSizeInBytes
repeated int32 bloom_filter_size_in_bytes = 5;
- Parameters:
index
- The index to set the value at.value
- The bloomFilterSizeInBytes to set.- Returns:
- This builder for chaining.
-
addBloomFilterSizeInBytes
repeated int32 bloom_filter_size_in_bytes = 5;
- Parameters:
value
- The bloomFilterSizeInBytes to add.- Returns:
- This builder for chaining.
-
addAllBloomFilterSizeInBytes
public BitData.RuntimeFilterBDef.Builder addAllBloomFilterSizeInBytes(Iterable<? extends Integer> values) repeated int32 bloom_filter_size_in_bytes = 5;
- Parameters:
values
- The bloomFilterSizeInBytes to add.- Returns:
- This builder for chaining.
-
clearBloomFilterSizeInBytes
repeated int32 bloom_filter_size_in_bytes = 5;
- Returns:
- This builder for chaining.
-
getProbeFieldsList
public com.google.protobuf.ProtocolStringList getProbeFieldsList()probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Specified by:
getProbeFieldsList
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- A list containing the probeFields.
-
getProbeFieldsCount
public int getProbeFieldsCount()probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Specified by:
getProbeFieldsCount
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The count of probeFields.
-
getProbeFields
probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Specified by:
getProbeFields
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The probeFields at the given index.
-
getProbeFieldsBytes
public com.google.protobuf.ByteString getProbeFieldsBytes(int index) probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Specified by:
getProbeFieldsBytes
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the probeFields at the given index.
-
setProbeFields
probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Parameters:
index
- The index to set the value at.value
- The probeFields to set.- Returns:
- This builder for chaining.
-
addProbeFields
probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Parameters:
value
- The probeFields to add.- Returns:
- This builder for chaining.
-
addAllProbeFields
probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Parameters:
values
- The probeFields to add.- Returns:
- This builder for chaining.
-
clearProbeFields
probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Returns:
- This builder for chaining.
-
addProbeFieldsBytes
probe fields with corresponding BloomFilters
repeated string probe_fields = 6;
- Parameters:
value
- The bytes of the probeFields to add.- Returns:
- This builder for chaining.
-
hasHjOpId
public boolean hasHjOpId()the operator id of the HashJoin which generates this RuntimeFilter
optional int32 hj_op_id = 7;
- Specified by:
hasHjOpId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- Whether the hjOpId field is set.
-
getHjOpId
public int getHjOpId()the operator id of the HashJoin which generates this RuntimeFilter
optional int32 hj_op_id = 7;
- Specified by:
getHjOpId
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The hjOpId.
-
setHjOpId
the operator id of the HashJoin which generates this RuntimeFilter
optional int32 hj_op_id = 7;
- Parameters:
value
- The hjOpId to set.- Returns:
- This builder for chaining.
-
clearHjOpId
the operator id of the HashJoin which generates this RuntimeFilter
optional int32 hj_op_id = 7;
- Returns:
- This builder for chaining.
-
hasRfIdentifier
public boolean hasRfIdentifier()the runtime filter identifier
optional int64 rf_identifier = 8;
- Specified by:
hasRfIdentifier
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- Whether the rfIdentifier field is set.
-
getRfIdentifier
public long getRfIdentifier()the runtime filter identifier
optional int64 rf_identifier = 8;
- Specified by:
getRfIdentifier
in interfaceBitData.RuntimeFilterBDefOrBuilder
- Returns:
- The rfIdentifier.
-
setRfIdentifier
the runtime filter identifier
optional int64 rf_identifier = 8;
- Parameters:
value
- The rfIdentifier to set.- Returns:
- This builder for chaining.
-
clearRfIdentifier
the runtime filter identifier
optional int64 rf_identifier = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final BitData.RuntimeFilterBDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-
mergeUnknownFields
public final BitData.RuntimeFilterBDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
-