Class Range.ByteStringRange

java.lang.Object
com.google.cloud.bigtable.data.v2.models.Range<com.google.protobuf.ByteString,R>
com.google.cloud.bigtable.data.v2.models.Range.ByteStringRange
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
Range<T,R extends Range<T,R>>

public static final class Range.ByteStringRange extends Range<com.google.protobuf.ByteString,R> implements Serializable
Concrete Range for ByteStrings
See Also:
  • Method Details

    • prefix

      public static Range.ByteStringRange prefix(String prefix)
    • prefix

      public static Range.ByteStringRange prefix(com.google.protobuf.ByteString prefix)
    • unbounded

      public static Range.ByteStringRange unbounded()
    • create

      public static Range.ByteStringRange create(com.google.protobuf.ByteString closedStart, com.google.protobuf.ByteString openEnd)
    • create

      public static Range.ByteStringRange create(String closedStart, String openEnd)
    • serializeToByteString

      @InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static com.google.protobuf.ByteString serializeToByteString(Range.ByteStringRange byteStringRange)
    • toByteStringRange

      @InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static Range.ByteStringRange toByteStringRange(com.google.protobuf.ByteString byteString) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • of

      public Range.ByteStringRange of(String startClosed, String endOpen)
      Creates a new Range with the specified inclusive start and the specified exclusive end.
    • startOpen

      public Range.ByteStringRange startOpen(@Nonnull String start)
      Creates a new Range with the specified exclusive start and the current end.
    • startClosed

      public Range.ByteStringRange startClosed(@Nonnull String start)
      Creates a new Range with the specified inclusive start and the current end.
    • endOpen

      public Range.ByteStringRange endOpen(@Nonnull String end)
      Creates a new Range with the specified exclusive end and the current start.
    • endClosed

      public Range.ByteStringRange endClosed(@Nonnull String end)
      Creates a new Range with the specified inclusive end and the current start.
    • startOpen

      public Range.ByteStringRange startOpen(@Nonnull com.google.protobuf.ByteString start)
      Description copied from class: Range
      Creates a new Range with the specified exclusive start and the current end.
      Overrides:
      startOpen in class Range<com.google.protobuf.ByteString,R extends com.google.cloud.bigtable.data.v2.models.Range.AbstractByteStringRange<R>>
    • startClosed

      public Range.ByteStringRange startClosed(@Nonnull com.google.protobuf.ByteString start)
      Description copied from class: Range
      Creates a new Range with the specified inclusive start and the current end.
      Overrides:
      startClosed in class Range<com.google.protobuf.ByteString,R extends com.google.cloud.bigtable.data.v2.models.Range.AbstractByteStringRange<R>>
    • endOpen

      public Range.ByteStringRange endOpen(@Nonnull com.google.protobuf.ByteString end)
      Description copied from class: Range
      Creates a new Range with the specified exclusive end and the current start.
      Overrides:
      endOpen in class Range<com.google.protobuf.ByteString,R extends com.google.cloud.bigtable.data.v2.models.Range.AbstractByteStringRange<R>>
    • endClosed

      public Range.ByteStringRange endClosed(@Nonnull com.google.protobuf.ByteString end)
      Description copied from class: Range
      Creates a new Range with the specified inclusive end and the current start.
      Overrides:
      endClosed in class Range<com.google.protobuf.ByteString,R extends com.google.cloud.bigtable.data.v2.models.Range.AbstractByteStringRange<R>>
    • clone

      protected Range.ByteStringRange clone()
      Overrides:
      clone in class Object