Class Rel

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Rel
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RelOrBuilder, Serializable

public final class Rel extends com.google.protobuf.GeneratedMessageV3 implements RelOrBuilder
 A relation (used internally in a plan)
 
Protobuf type substrait.Rel
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
    • getRelTypeCase

      public Rel.RelTypeCase getRelTypeCase()
      Specified by:
      getRelTypeCase in interface RelOrBuilder
    • hasRead

      public boolean hasRead()
      .substrait.ReadRel read = 1;
      Specified by:
      hasRead in interface RelOrBuilder
      Returns:
      Whether the read field is set.
    • getRead

      public ReadRel getRead()
      .substrait.ReadRel read = 1;
      Specified by:
      getRead in interface RelOrBuilder
      Returns:
      The read.
    • getReadOrBuilder

      public ReadRelOrBuilder getReadOrBuilder()
      .substrait.ReadRel read = 1;
      Specified by:
      getReadOrBuilder in interface RelOrBuilder
    • hasFilter

      public boolean hasFilter()
      .substrait.FilterRel filter = 2;
      Specified by:
      hasFilter in interface RelOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public FilterRel getFilter()
      .substrait.FilterRel filter = 2;
      Specified by:
      getFilter in interface RelOrBuilder
      Returns:
      The filter.
    • getFilterOrBuilder

      public FilterRelOrBuilder getFilterOrBuilder()
      .substrait.FilterRel filter = 2;
      Specified by:
      getFilterOrBuilder in interface RelOrBuilder
    • hasFetch

      public boolean hasFetch()
      .substrait.FetchRel fetch = 3;
      Specified by:
      hasFetch in interface RelOrBuilder
      Returns:
      Whether the fetch field is set.
    • getFetch

      public FetchRel getFetch()
      .substrait.FetchRel fetch = 3;
      Specified by:
      getFetch in interface RelOrBuilder
      Returns:
      The fetch.
    • getFetchOrBuilder

      public FetchRelOrBuilder getFetchOrBuilder()
      .substrait.FetchRel fetch = 3;
      Specified by:
      getFetchOrBuilder in interface RelOrBuilder
    • hasAggregate

      public boolean hasAggregate()
      .substrait.AggregateRel aggregate = 4;
      Specified by:
      hasAggregate in interface RelOrBuilder
      Returns:
      Whether the aggregate field is set.
    • getAggregate

      public AggregateRel getAggregate()
      .substrait.AggregateRel aggregate = 4;
      Specified by:
      getAggregate in interface RelOrBuilder
      Returns:
      The aggregate.
    • getAggregateOrBuilder

      public AggregateRelOrBuilder getAggregateOrBuilder()
      .substrait.AggregateRel aggregate = 4;
      Specified by:
      getAggregateOrBuilder in interface RelOrBuilder
    • hasSort

      public boolean hasSort()
      .substrait.SortRel sort = 5;
      Specified by:
      hasSort in interface RelOrBuilder
      Returns:
      Whether the sort field is set.
    • getSort

      public SortRel getSort()
      .substrait.SortRel sort = 5;
      Specified by:
      getSort in interface RelOrBuilder
      Returns:
      The sort.
    • getSortOrBuilder

      public SortRelOrBuilder getSortOrBuilder()
      .substrait.SortRel sort = 5;
      Specified by:
      getSortOrBuilder in interface RelOrBuilder
    • hasJoin

      public boolean hasJoin()
      .substrait.JoinRel join = 6;
      Specified by:
      hasJoin in interface RelOrBuilder
      Returns:
      Whether the join field is set.
    • getJoin

      public JoinRel getJoin()
      .substrait.JoinRel join = 6;
      Specified by:
      getJoin in interface RelOrBuilder
      Returns:
      The join.
    • getJoinOrBuilder

      public JoinRelOrBuilder getJoinOrBuilder()
      .substrait.JoinRel join = 6;
      Specified by:
      getJoinOrBuilder in interface RelOrBuilder
    • hasProject

      public boolean hasProject()
      .substrait.ProjectRel project = 7;
      Specified by:
      hasProject in interface RelOrBuilder
      Returns:
      Whether the project field is set.
    • getProject

      public ProjectRel getProject()
      .substrait.ProjectRel project = 7;
      Specified by:
      getProject in interface RelOrBuilder
      Returns:
      The project.
    • getProjectOrBuilder

      public ProjectRelOrBuilder getProjectOrBuilder()
      .substrait.ProjectRel project = 7;
      Specified by:
      getProjectOrBuilder in interface RelOrBuilder
    • hasSet

      public boolean hasSet()
      .substrait.SetRel set = 8;
      Specified by:
      hasSet in interface RelOrBuilder
      Returns:
      Whether the set field is set.
    • getSet

      public SetRel getSet()
      .substrait.SetRel set = 8;
      Specified by:
      getSet in interface RelOrBuilder
      Returns:
      The set.
    • getSetOrBuilder

      public SetRelOrBuilder getSetOrBuilder()
      .substrait.SetRel set = 8;
      Specified by:
      getSetOrBuilder in interface RelOrBuilder
    • hasExtensionSingle

      public boolean hasExtensionSingle()
      .substrait.ExtensionSingleRel extension_single = 9;
      Specified by:
      hasExtensionSingle in interface RelOrBuilder
      Returns:
      Whether the extensionSingle field is set.
    • getExtensionSingle

      public ExtensionSingleRel getExtensionSingle()
      .substrait.ExtensionSingleRel extension_single = 9;
      Specified by:
      getExtensionSingle in interface RelOrBuilder
      Returns:
      The extensionSingle.
    • getExtensionSingleOrBuilder

      public ExtensionSingleRelOrBuilder getExtensionSingleOrBuilder()
      .substrait.ExtensionSingleRel extension_single = 9;
      Specified by:
      getExtensionSingleOrBuilder in interface RelOrBuilder
    • hasExtensionMulti

      public boolean hasExtensionMulti()
      .substrait.ExtensionMultiRel extension_multi = 10;
      Specified by:
      hasExtensionMulti in interface RelOrBuilder
      Returns:
      Whether the extensionMulti field is set.
    • getExtensionMulti

      public ExtensionMultiRel getExtensionMulti()
      .substrait.ExtensionMultiRel extension_multi = 10;
      Specified by:
      getExtensionMulti in interface RelOrBuilder
      Returns:
      The extensionMulti.
    • getExtensionMultiOrBuilder

      public ExtensionMultiRelOrBuilder getExtensionMultiOrBuilder()
      .substrait.ExtensionMultiRel extension_multi = 10;
      Specified by:
      getExtensionMultiOrBuilder in interface RelOrBuilder
    • hasExtensionLeaf

      public boolean hasExtensionLeaf()
      .substrait.ExtensionLeafRel extension_leaf = 11;
      Specified by:
      hasExtensionLeaf in interface RelOrBuilder
      Returns:
      Whether the extensionLeaf field is set.
    • getExtensionLeaf

      public ExtensionLeafRel getExtensionLeaf()
      .substrait.ExtensionLeafRel extension_leaf = 11;
      Specified by:
      getExtensionLeaf in interface RelOrBuilder
      Returns:
      The extensionLeaf.
    • getExtensionLeafOrBuilder

      public ExtensionLeafRelOrBuilder getExtensionLeafOrBuilder()
      .substrait.ExtensionLeafRel extension_leaf = 11;
      Specified by:
      getExtensionLeafOrBuilder in interface RelOrBuilder
    • hasCross

      public boolean hasCross()
      .substrait.CrossRel cross = 12;
      Specified by:
      hasCross in interface RelOrBuilder
      Returns:
      Whether the cross field is set.
    • getCross

      public CrossRel getCross()
      .substrait.CrossRel cross = 12;
      Specified by:
      getCross in interface RelOrBuilder
      Returns:
      The cross.
    • getCrossOrBuilder

      public CrossRelOrBuilder getCrossOrBuilder()
      .substrait.CrossRel cross = 12;
      Specified by:
      getCrossOrBuilder in interface RelOrBuilder
    • hasReference

      public boolean hasReference()
      .substrait.ReferenceRel reference = 21;
      Specified by:
      hasReference in interface RelOrBuilder
      Returns:
      Whether the reference field is set.
    • getReference

      public ReferenceRel getReference()
      .substrait.ReferenceRel reference = 21;
      Specified by:
      getReference in interface RelOrBuilder
      Returns:
      The reference.
    • getReferenceOrBuilder

      public ReferenceRelOrBuilder getReferenceOrBuilder()
      .substrait.ReferenceRel reference = 21;
      Specified by:
      getReferenceOrBuilder in interface RelOrBuilder
    • hasWrite

      public boolean hasWrite()
      .substrait.WriteRel write = 19;
      Specified by:
      hasWrite in interface RelOrBuilder
      Returns:
      Whether the write field is set.
    • getWrite

      public WriteRel getWrite()
      .substrait.WriteRel write = 19;
      Specified by:
      getWrite in interface RelOrBuilder
      Returns:
      The write.
    • getWriteOrBuilder

      public WriteRelOrBuilder getWriteOrBuilder()
      .substrait.WriteRel write = 19;
      Specified by:
      getWriteOrBuilder in interface RelOrBuilder
    • hasDdl

      public boolean hasDdl()
      .substrait.DdlRel ddl = 20;
      Specified by:
      hasDdl in interface RelOrBuilder
      Returns:
      Whether the ddl field is set.
    • getDdl

      public DdlRel getDdl()
      .substrait.DdlRel ddl = 20;
      Specified by:
      getDdl in interface RelOrBuilder
      Returns:
      The ddl.
    • getDdlOrBuilder

      public DdlRelOrBuilder getDdlOrBuilder()
      .substrait.DdlRel ddl = 20;
      Specified by:
      getDdlOrBuilder in interface RelOrBuilder
    • hasUpdate

      public boolean hasUpdate()
      .substrait.UpdateRel update = 22;
      Specified by:
      hasUpdate in interface RelOrBuilder
      Returns:
      Whether the update field is set.
    • getUpdate

      public UpdateRel getUpdate()
      .substrait.UpdateRel update = 22;
      Specified by:
      getUpdate in interface RelOrBuilder
      Returns:
      The update.
    • getUpdateOrBuilder

      public UpdateRelOrBuilder getUpdateOrBuilder()
      .substrait.UpdateRel update = 22;
      Specified by:
      getUpdateOrBuilder in interface RelOrBuilder
    • hasHashJoin

      public boolean hasHashJoin()
       Physical relations
       
      .substrait.HashJoinRel hash_join = 13;
      Specified by:
      hasHashJoin in interface RelOrBuilder
      Returns:
      Whether the hashJoin field is set.
    • getHashJoin

      public HashJoinRel getHashJoin()
       Physical relations
       
      .substrait.HashJoinRel hash_join = 13;
      Specified by:
      getHashJoin in interface RelOrBuilder
      Returns:
      The hashJoin.
    • getHashJoinOrBuilder

      public HashJoinRelOrBuilder getHashJoinOrBuilder()
       Physical relations
       
      .substrait.HashJoinRel hash_join = 13;
      Specified by:
      getHashJoinOrBuilder in interface RelOrBuilder
    • hasMergeJoin

      public boolean hasMergeJoin()
      .substrait.MergeJoinRel merge_join = 14;
      Specified by:
      hasMergeJoin in interface RelOrBuilder
      Returns:
      Whether the mergeJoin field is set.
    • getMergeJoin

      public MergeJoinRel getMergeJoin()
      .substrait.MergeJoinRel merge_join = 14;
      Specified by:
      getMergeJoin in interface RelOrBuilder
      Returns:
      The mergeJoin.
    • getMergeJoinOrBuilder

      public MergeJoinRelOrBuilder getMergeJoinOrBuilder()
      .substrait.MergeJoinRel merge_join = 14;
      Specified by:
      getMergeJoinOrBuilder in interface RelOrBuilder
    • hasNestedLoopJoin

      public boolean hasNestedLoopJoin()
      .substrait.NestedLoopJoinRel nested_loop_join = 18;
      Specified by:
      hasNestedLoopJoin in interface RelOrBuilder
      Returns:
      Whether the nestedLoopJoin field is set.
    • getNestedLoopJoin

      public NestedLoopJoinRel getNestedLoopJoin()
      .substrait.NestedLoopJoinRel nested_loop_join = 18;
      Specified by:
      getNestedLoopJoin in interface RelOrBuilder
      Returns:
      The nestedLoopJoin.
    • getNestedLoopJoinOrBuilder

      public NestedLoopJoinRelOrBuilder getNestedLoopJoinOrBuilder()
      .substrait.NestedLoopJoinRel nested_loop_join = 18;
      Specified by:
      getNestedLoopJoinOrBuilder in interface RelOrBuilder
    • hasWindow

      public boolean hasWindow()
      .substrait.ConsistentPartitionWindowRel window = 17;
      Specified by:
      hasWindow in interface RelOrBuilder
      Returns:
      Whether the window field is set.
    • getWindow

      public ConsistentPartitionWindowRel getWindow()
      .substrait.ConsistentPartitionWindowRel window = 17;
      Specified by:
      getWindow in interface RelOrBuilder
      Returns:
      The window.
    • getWindowOrBuilder

      public ConsistentPartitionWindowRelOrBuilder getWindowOrBuilder()
      .substrait.ConsistentPartitionWindowRel window = 17;
      Specified by:
      getWindowOrBuilder in interface RelOrBuilder
    • hasExchange

      public boolean hasExchange()
      .substrait.ExchangeRel exchange = 15;
      Specified by:
      hasExchange in interface RelOrBuilder
      Returns:
      Whether the exchange field is set.
    • getExchange

      public ExchangeRel getExchange()
      .substrait.ExchangeRel exchange = 15;
      Specified by:
      getExchange in interface RelOrBuilder
      Returns:
      The exchange.
    • getExchangeOrBuilder

      public ExchangeRelOrBuilder getExchangeOrBuilder()
      .substrait.ExchangeRel exchange = 15;
      Specified by:
      getExchangeOrBuilder in interface RelOrBuilder
    • hasExpand

      public boolean hasExpand()
      .substrait.ExpandRel expand = 16;
      Specified by:
      hasExpand in interface RelOrBuilder
      Returns:
      Whether the expand field is set.
    • getExpand

      public ExpandRel getExpand()
      .substrait.ExpandRel expand = 16;
      Specified by:
      getExpand in interface RelOrBuilder
      Returns:
      The expand.
    • getExpandOrBuilder

      public ExpandRelOrBuilder getExpandOrBuilder()
      .substrait.ExpandRel expand = 16;
      Specified by:
      getExpandOrBuilder in interface RelOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Rel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rel parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Rel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Rel parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Rel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Rel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Rel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Rel.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Rel.Builder newBuilder()
    • newBuilder

      public static Rel.Builder newBuilder(Rel prototype)
    • toBuilder

      public Rel.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Rel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Rel getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Rel> parser()
    • getParserForType

      public com.google.protobuf.Parser<Rel> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Rel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder