Class ExpandRel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExpandRel.Builder>
io.substrait.proto.ExpandRel.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExpandRelOrBuilder, Cloneable
Enclosing class:
ExpandRel

public static final class ExpandRel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExpandRel.Builder> implements ExpandRelOrBuilder
 Duplicates records by emitting one or more rows per input row.  The number of rows emitted per
 input row is the same for all input rows.

 In addition to a field being emitted per input field an extra int64 field is emitted which
 contains a zero-indexed ordinal corresponding to the duplicate definition.
 
Protobuf type substrait.ExpandRel
  • 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<ExpandRel.Builder>
    • clear

      public ExpandRel.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<ExpandRel.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<ExpandRel.Builder>
    • getDefaultInstanceForType

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

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

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

      public ExpandRel.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<ExpandRel.Builder>
    • setField

      public ExpandRel.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<ExpandRel.Builder>
    • clearField

      public ExpandRel.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<ExpandRel.Builder>
    • clearOneof

      public ExpandRel.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<ExpandRel.Builder>
    • setRepeatedField

      public ExpandRel.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<ExpandRel.Builder>
    • addRepeatedField

      public ExpandRel.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<ExpandRel.Builder>
    • mergeFrom

      public ExpandRel.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<ExpandRel.Builder>
    • mergeFrom

      public ExpandRel.Builder mergeFrom(ExpandRel other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExpandRel.Builder>
    • mergeFrom

      public ExpandRel.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<ExpandRel.Builder>
      Throws:
      IOException
    • hasCommon

      public boolean hasCommon()
      .substrait.RelCommon common = 1;
      Specified by:
      hasCommon in interface ExpandRelOrBuilder
      Returns:
      Whether the common field is set.
    • getCommon

      public RelCommon getCommon()
      .substrait.RelCommon common = 1;
      Specified by:
      getCommon in interface ExpandRelOrBuilder
      Returns:
      The common.
    • setCommon

      public ExpandRel.Builder setCommon(RelCommon value)
      .substrait.RelCommon common = 1;
    • setCommon

      public ExpandRel.Builder setCommon(RelCommon.Builder builderForValue)
      .substrait.RelCommon common = 1;
    • mergeCommon

      public ExpandRel.Builder mergeCommon(RelCommon value)
      .substrait.RelCommon common = 1;
    • clearCommon

      public ExpandRel.Builder clearCommon()
      .substrait.RelCommon common = 1;
    • getCommonBuilder

      public RelCommon.Builder getCommonBuilder()
      .substrait.RelCommon common = 1;
    • getCommonOrBuilder

      public RelCommonOrBuilder getCommonOrBuilder()
      .substrait.RelCommon common = 1;
      Specified by:
      getCommonOrBuilder in interface ExpandRelOrBuilder
    • hasInput

      public boolean hasInput()
      .substrait.Rel input = 2;
      Specified by:
      hasInput in interface ExpandRelOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Rel getInput()
      .substrait.Rel input = 2;
      Specified by:
      getInput in interface ExpandRelOrBuilder
      Returns:
      The input.
    • setInput

      public ExpandRel.Builder setInput(Rel value)
      .substrait.Rel input = 2;
    • setInput

      public ExpandRel.Builder setInput(Rel.Builder builderForValue)
      .substrait.Rel input = 2;
    • mergeInput

      public ExpandRel.Builder mergeInput(Rel value)
      .substrait.Rel input = 2;
    • clearInput

      public ExpandRel.Builder clearInput()
      .substrait.Rel input = 2;
    • getInputBuilder

      public Rel.Builder getInputBuilder()
      .substrait.Rel input = 2;
    • getInputOrBuilder

      public RelOrBuilder getInputOrBuilder()
      .substrait.Rel input = 2;
      Specified by:
      getInputOrBuilder in interface ExpandRelOrBuilder
    • getFieldsList

      public List<ExpandRel.ExpandField> getFieldsList()
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
      Specified by:
      getFieldsList in interface ExpandRelOrBuilder
    • getFieldsCount

      public int getFieldsCount()
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
      Specified by:
      getFieldsCount in interface ExpandRelOrBuilder
    • getFields

      public ExpandRel.ExpandField getFields(int index)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
      Specified by:
      getFields in interface ExpandRelOrBuilder
    • setFields

      public ExpandRel.Builder setFields(int index, ExpandRel.ExpandField value)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • setFields

      public ExpandRel.Builder setFields(int index, ExpandRel.ExpandField.Builder builderForValue)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • addFields

      public ExpandRel.Builder addFields(ExpandRel.ExpandField value)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • addFields

      public ExpandRel.Builder addFields(int index, ExpandRel.ExpandField value)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • addFields

      public ExpandRel.Builder addFields(ExpandRel.ExpandField.Builder builderForValue)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • addFields

      public ExpandRel.Builder addFields(int index, ExpandRel.ExpandField.Builder builderForValue)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • addAllFields

      public ExpandRel.Builder addAllFields(Iterable<? extends ExpandRel.ExpandField> values)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • clearFields

      public ExpandRel.Builder clearFields()
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • removeFields

      public ExpandRel.Builder removeFields(int index)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • getFieldsBuilder

      public ExpandRel.ExpandField.Builder getFieldsBuilder(int index)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • getFieldsOrBuilder

      public ExpandRel.ExpandFieldOrBuilder getFieldsOrBuilder(int index)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
      Specified by:
      getFieldsOrBuilder in interface ExpandRelOrBuilder
    • getFieldsOrBuilderList

      public List<? extends ExpandRel.ExpandFieldOrBuilder> getFieldsOrBuilderList()
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
      Specified by:
      getFieldsOrBuilderList in interface ExpandRelOrBuilder
    • addFieldsBuilder

      public ExpandRel.ExpandField.Builder addFieldsBuilder()
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • addFieldsBuilder

      public ExpandRel.ExpandField.Builder addFieldsBuilder(int index)
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • getFieldsBuilderList

      public List<ExpandRel.ExpandField.Builder> getFieldsBuilderList()
       There should be one definition here for each input field.  Any fields beyond the provided
       definitions will be emitted as is (as if a consistent_field record with an identity
       expression was provided).
       
      repeated .substrait.ExpandRel.ExpandField fields = 4;
    • setUnknownFields

      public final ExpandRel.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<ExpandRel.Builder>
    • mergeUnknownFields

      public final ExpandRel.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<ExpandRel.Builder>