Class

org.apache.hadoop.hbase.spark

ScanRange

Related Doc: package spark

Permalink

class ScanRange extends Serializable

Construct to contain a single scan ranges information. Also provide functions to merge with other scan ranges through AND or OR operators

Annotations
@Private()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScanRange
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScanRange(upperBound: Array[Byte], isUpperBoundEqualTo: Boolean, lowerBound: Array[Byte], isLowerBoundEqualTo: Boolean)

    Permalink

    upperBound

    Upper bound of scan

    isUpperBoundEqualTo

    Include upper bound value in the results

    lowerBound

    Lower bound of scan

    isLowerBoundEqualTo

    Include lower bound value in the results

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compareRange(left: Array[Byte], right: Array[Byte]): Int

    Permalink

    Special compare logic because we can have null values for left or right bound

    Special compare logic because we can have null values for left or right bound

    left

    Left byte array

    right

    Right byte array

    returns

    0 for equals 1 is left is greater and -1 is right is greater

  7. def containsPoint(point: Array[Byte]): Boolean

    Permalink

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getOverLapScanRange(other: ScanRange): ScanRange

    Permalink

    Common function to see if this scan over laps with another

    Common function to see if this scan over laps with another

    Reference Visual

    A B |---------------------------| LL--------------LU RL--------------RU

    A = lowest value is byte[0] B = highest value is null LL = Left Lower Bound LU = Left Upper Bound RL = Right Lower Bound RU = Right Upper Bound

    other

    Other scan object

    returns

    True is overlap false is not overlap

  13. def hasOverlap(left: ScanRange, right: ScanRange): Boolean

    Permalink

    The leftRange.upperBound has to be larger than the rightRange's lowerBound.

    The leftRange.upperBound has to be larger than the rightRange's lowerBound. Otherwise, there is no overlap.

    left

    : The range with the smaller lowBound

    right

    : The range with the larger lowBound

    returns

    Whether two ranges have overlap.

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. var isLowerBoundEqualTo: Boolean

    Permalink

    Include lower bound value in the results

  17. var isUpperBoundEqualTo: Boolean

    Permalink

    Include upper bound value in the results

  18. var lowerBound: Array[Byte]

    Permalink

    Lower bound of scan

  19. def mergeIntersect(other: ScanRange): Unit

    Permalink

    Function to merge another scan object through a AND operation

    Function to merge another scan object through a AND operation

    other

    Other scan object

  20. def mergeUnion(other: ScanRange): Unit

    Permalink

    Function to merge another scan object through a OR operation

    Function to merge another scan object through a OR operation

    other

    Other scan object

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    ScanRange → AnyRef → Any
  26. var upperBound: Array[Byte]

    Permalink

    Upper bound of scan

  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped