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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • getDefaultInstanceForType

      public BitData.RuntimeFilterBDef getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BitData.RuntimeFilterBDef build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BitData.RuntimeFilterBDef buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • clearField

      public BitData.RuntimeFilterBDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • clearOneof

      public BitData.RuntimeFilterBDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • mergeFrom

      public BitData.RuntimeFilterBDef.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BitData.RuntimeFilterBDef.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BitData.RuntimeFilterBDef.Builder>
      Throws:
      IOException
    • hasQueryId

      public boolean hasQueryId()
      optional .exec.shared.QueryId query_id = 1;
      Specified by:
      hasQueryId in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      Whether the queryId field is set.
    • getQueryId

      public UserBitShared.QueryId getQueryId()
      optional .exec.shared.QueryId query_id = 1;
      Specified by:
      getQueryId in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The queryId.
    • setQueryId

      optional .exec.shared.QueryId query_id = 1;
    • setQueryId

      optional .exec.shared.QueryId query_id = 1;
    • mergeQueryId

      optional .exec.shared.QueryId query_id = 1;
    • clearQueryId

      public BitData.RuntimeFilterBDef.Builder clearQueryId()
      optional .exec.shared.QueryId query_id = 1;
    • getQueryIdBuilder

      public UserBitShared.QueryId.Builder getQueryIdBuilder()
      optional .exec.shared.QueryId query_id = 1;
    • getQueryIdOrBuilder

      public UserBitShared.QueryIdOrBuilder getQueryIdOrBuilder()
      optional .exec.shared.QueryId query_id = 1;
      Specified by:
      getQueryIdOrBuilder in interface BitData.RuntimeFilterBDefOrBuilder
    • hasMajorFragmentId

      public boolean hasMajorFragmentId()
      optional int32 major_fragment_id = 2;
      Specified by:
      hasMajorFragmentId in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      Whether the majorFragmentId field is set.
    • getMajorFragmentId

      public int getMajorFragmentId()
      optional int32 major_fragment_id = 2;
      Specified by:
      getMajorFragmentId in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The majorFragmentId.
    • setMajorFragmentId

      public BitData.RuntimeFilterBDef.Builder setMajorFragmentId(int value)
      optional int32 major_fragment_id = 2;
      Parameters:
      value - The majorFragmentId to set.
      Returns:
      This builder for chaining.
    • clearMajorFragmentId

      public BitData.RuntimeFilterBDef.Builder 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 interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      Whether the minorFragmentId field is set.
    • getMinorFragmentId

      public int getMinorFragmentId()
      optional int32 minor_fragment_id = 3;
      Specified by:
      getMinorFragmentId in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The minorFragmentId.
    • setMinorFragmentId

      public BitData.RuntimeFilterBDef.Builder setMinorFragmentId(int value)
      optional int32 minor_fragment_id = 3;
      Parameters:
      value - The minorFragmentId to set.
      Returns:
      This builder for chaining.
    • clearMinorFragmentId

      public BitData.RuntimeFilterBDef.Builder 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 interface BitData.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 interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The toForeman.
    • setToForeman

      public BitData.RuntimeFilterBDef.Builder setToForeman(boolean value)
       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

      public BitData.RuntimeFilterBDef.Builder clearToForeman()
       true means sending to foreman,false means sending to scan nodes
       
      optional bool to_foreman = 4;
      Returns:
      This builder for chaining.
    • getBloomFilterSizeInBytesList

      public List<Integer> getBloomFilterSizeInBytesList()
      repeated int32 bloom_filter_size_in_bytes = 5;
      Specified by:
      getBloomFilterSizeInBytesList in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      A list containing the bloomFilterSizeInBytes.
    • getBloomFilterSizeInBytesCount

      public int getBloomFilterSizeInBytesCount()
      repeated int32 bloom_filter_size_in_bytes = 5;
      Specified by:
      getBloomFilterSizeInBytesCount in interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The count of bloomFilterSizeInBytes.
    • getBloomFilterSizeInBytes

      public int getBloomFilterSizeInBytes(int index)
      repeated int32 bloom_filter_size_in_bytes = 5;
      Specified by:
      getBloomFilterSizeInBytes in interface BitData.RuntimeFilterBDefOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The bloomFilterSizeInBytes at the given index.
    • setBloomFilterSizeInBytes

      public BitData.RuntimeFilterBDef.Builder setBloomFilterSizeInBytes(int index, int value)
      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

      public BitData.RuntimeFilterBDef.Builder addBloomFilterSizeInBytes(int value)
      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

      public BitData.RuntimeFilterBDef.Builder 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 interface BitData.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 interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The count of probeFields.
    • getProbeFields

      public String getProbeFields(int index)
       probe fields with corresponding BloomFilters
       
      repeated string probe_fields = 6;
      Specified by:
      getProbeFields in interface BitData.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 interface BitData.RuntimeFilterBDefOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the probeFields at the given index.
    • setProbeFields

      public BitData.RuntimeFilterBDef.Builder setProbeFields(int index, String value)
       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

      public BitData.RuntimeFilterBDef.Builder addProbeFields(String value)
       probe fields with corresponding BloomFilters
       
      repeated string probe_fields = 6;
      Parameters:
      value - The probeFields to add.
      Returns:
      This builder for chaining.
    • addAllProbeFields

      public BitData.RuntimeFilterBDef.Builder addAllProbeFields(Iterable<String> values)
       probe fields with corresponding BloomFilters
       
      repeated string probe_fields = 6;
      Parameters:
      values - The probeFields to add.
      Returns:
      This builder for chaining.
    • clearProbeFields

      public BitData.RuntimeFilterBDef.Builder clearProbeFields()
       probe fields with corresponding BloomFilters
       
      repeated string probe_fields = 6;
      Returns:
      This builder for chaining.
    • addProbeFieldsBytes

      public BitData.RuntimeFilterBDef.Builder addProbeFieldsBytes(com.google.protobuf.ByteString value)
       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 interface BitData.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 interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The hjOpId.
    • setHjOpId

      public BitData.RuntimeFilterBDef.Builder setHjOpId(int value)
       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

      public BitData.RuntimeFilterBDef.Builder 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 interface BitData.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 interface BitData.RuntimeFilterBDefOrBuilder
      Returns:
      The rfIdentifier.
    • setRfIdentifier

      public BitData.RuntimeFilterBDef.Builder setRfIdentifier(long value)
       the runtime filter identifier
       
      optional int64 rf_identifier = 8;
      Parameters:
      value - The rfIdentifier to set.
      Returns:
      This builder for chaining.
    • clearRfIdentifier

      public BitData.RuntimeFilterBDef.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>
    • mergeUnknownFields

      public final BitData.RuntimeFilterBDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BitData.RuntimeFilterBDef.Builder>