Class FetchRel

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

public final class FetchRel extends com.google.protobuf.GeneratedMessageV3 implements FetchRelOrBuilder
 The relational operator representing LIMIT/OFFSET or TOP type semantics.
 
Protobuf type substrait.FetchRel
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    The relational operator representing LIMIT/OFFSET or TOP type semantics.
    static enum 
     
    static enum 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    .substrait.extensions.AdvancedExtension advanced_extension = 10;
    .substrait.extensions.AdvancedExtension advanced_extension = 10;
    .substrait.RelCommon common = 1;
    .substrait.RelCommon common = 1;
    long
    Deprecated.
    substrait.FetchRel.count is deprecated.
    Expression evaluated into a non-negative integer specifying the number of records to return.
    Expression evaluated into a non-negative integer specifying the number of records to return.
     
    static FetchRel
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    .substrait.Rel input = 2;
    .substrait.Rel input = 2;
    long
    Deprecated.
    substrait.FetchRel.offset is deprecated.
    Expression evaluated into a non-negative integer specifying the number of records to skip.
    Expression evaluated into a non-negative integer specifying the number of records to skip.
     
    com.google.protobuf.Parser<FetchRel>
     
    int
     
    boolean
    .substrait.extensions.AdvancedExtension advanced_extension = 10;
    boolean
    .substrait.RelCommon common = 1;
    boolean
    Deprecated.
    substrait.FetchRel.count is deprecated.
    boolean
    Expression evaluated into a non-negative integer specifying the number of records to return.
    int
     
    boolean
    .substrait.Rel input = 2;
    boolean
    Deprecated.
    substrait.FetchRel.offset is deprecated.
    boolean
    Expression evaluated into a non-negative integer specifying the number of records to skip.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(FetchRel prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static FetchRel
     
    static FetchRel
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FetchRel
    parseFrom(byte[] data)
     
    static FetchRel
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FetchRel
    parseFrom(com.google.protobuf.ByteString data)
     
    static FetchRel
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FetchRel
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static FetchRel
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FetchRel
     
    static FetchRel
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FetchRel
     
    static FetchRel
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<FetchRel>
     
     
    void
    writeTo(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, getUnknownFields, 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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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
    • getOffsetModeCase

      public FetchRel.OffsetModeCase getOffsetModeCase()
      Specified by:
      getOffsetModeCase in interface FetchRelOrBuilder
    • getCountModeCase

      public FetchRel.CountModeCase getCountModeCase()
      Specified by:
      getCountModeCase in interface FetchRelOrBuilder
    • hasCommon

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

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

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

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

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

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

      @Deprecated public boolean hasOffset()
      Deprecated.
      substrait.FetchRel.offset is deprecated. See substrait/algebra.proto;l=299
       the offset expressed in number of records
       Deprecated: use `offset_expr` instead
       
      int64 offset = 3 [deprecated = true];
      Specified by:
      hasOffset in interface FetchRelOrBuilder
      Returns:
      Whether the offset field is set.
    • getOffset

      @Deprecated public long getOffset()
      Deprecated.
      substrait.FetchRel.offset is deprecated. See substrait/algebra.proto;l=299
       the offset expressed in number of records
       Deprecated: use `offset_expr` instead
       
      int64 offset = 3 [deprecated = true];
      Specified by:
      getOffset in interface FetchRelOrBuilder
      Returns:
      The offset.
    • hasOffsetExpr

      public boolean hasOffsetExpr()
       Expression evaluated into a non-negative integer specifying the number
       of records to skip. An expression evaluating to null is treated as 0.
       Evaluating to a negative integer should result in an error.
       Recommended type for offset is int64.
       
      .substrait.Expression offset_expr = 5;
      Specified by:
      hasOffsetExpr in interface FetchRelOrBuilder
      Returns:
      Whether the offsetExpr field is set.
    • getOffsetExpr

      public Expression getOffsetExpr()
       Expression evaluated into a non-negative integer specifying the number
       of records to skip. An expression evaluating to null is treated as 0.
       Evaluating to a negative integer should result in an error.
       Recommended type for offset is int64.
       
      .substrait.Expression offset_expr = 5;
      Specified by:
      getOffsetExpr in interface FetchRelOrBuilder
      Returns:
      The offsetExpr.
    • getOffsetExprOrBuilder

      public ExpressionOrBuilder getOffsetExprOrBuilder()
       Expression evaluated into a non-negative integer specifying the number
       of records to skip. An expression evaluating to null is treated as 0.
       Evaluating to a negative integer should result in an error.
       Recommended type for offset is int64.
       
      .substrait.Expression offset_expr = 5;
      Specified by:
      getOffsetExprOrBuilder in interface FetchRelOrBuilder
    • hasCount

      @Deprecated public boolean hasCount()
      Deprecated.
      substrait.FetchRel.count is deprecated. See substrait/algebra.proto;l=313
       the amount of records to return
       use -1 to signal that ALL records should be returned
       Deprecated: use `count_expr` instead
       
      int64 count = 4 [deprecated = true];
      Specified by:
      hasCount in interface FetchRelOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      @Deprecated public long getCount()
      Deprecated.
      substrait.FetchRel.count is deprecated. See substrait/algebra.proto;l=313
       the amount of records to return
       use -1 to signal that ALL records should be returned
       Deprecated: use `count_expr` instead
       
      int64 count = 4 [deprecated = true];
      Specified by:
      getCount in interface FetchRelOrBuilder
      Returns:
      The count.
    • hasCountExpr

      public boolean hasCountExpr()
       Expression evaluated into a non-negative integer specifying the number
       of records to return. An expression evaluating to null signals that ALL
       records should be returned.
       Evaluating to a negative integer should result in an error.
       Recommended type for count is int64.
       
      .substrait.Expression count_expr = 6;
      Specified by:
      hasCountExpr in interface FetchRelOrBuilder
      Returns:
      Whether the countExpr field is set.
    • getCountExpr

      public Expression getCountExpr()
       Expression evaluated into a non-negative integer specifying the number
       of records to return. An expression evaluating to null signals that ALL
       records should be returned.
       Evaluating to a negative integer should result in an error.
       Recommended type for count is int64.
       
      .substrait.Expression count_expr = 6;
      Specified by:
      getCountExpr in interface FetchRelOrBuilder
      Returns:
      The countExpr.
    • getCountExprOrBuilder

      public ExpressionOrBuilder getCountExprOrBuilder()
       Expression evaluated into a non-negative integer specifying the number
       of records to return. An expression evaluating to null signals that ALL
       records should be returned.
       Evaluating to a negative integer should result in an error.
       Recommended type for count is int64.
       
      .substrait.Expression count_expr = 6;
      Specified by:
      getCountExprOrBuilder in interface FetchRelOrBuilder
    • hasAdvancedExtension

      public boolean hasAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 10;
      Specified by:
      hasAdvancedExtension in interface FetchRelOrBuilder
      Returns:
      Whether the advancedExtension field is set.
    • getAdvancedExtension

      public AdvancedExtension getAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 10;
      Specified by:
      getAdvancedExtension in interface FetchRelOrBuilder
      Returns:
      The advancedExtension.
    • getAdvancedExtensionOrBuilder

      public AdvancedExtensionOrBuilder getAdvancedExtensionOrBuilder()
      .substrait.extensions.AdvancedExtension advanced_extension = 10;
      Specified by:
      getAdvancedExtensionOrBuilder in interface FetchRelOrBuilder
    • 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 FetchRel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static FetchRel.Builder newBuilder()
    • newBuilder

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

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

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

      public static FetchRel getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FetchRel> 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 FetchRel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder