Packages

o

org.apache.spark.sql.catalyst.util

ThetaSketchUtils

object ThetaSketchUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThetaSketchUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val DEFAULT_LG_NOM_LONGS: Int(12)
  5. final val MAX_LG_NOM_LONGS: Int(26)
  6. final val MIN_LG_NOM_LONGS: Int(4)
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def checkLgNomLongs(lgNomLongs: Int, prettyName: String): Unit

    Validates the lgNomLongs parameter for Theta sketch size.

    Validates the lgNomLongs parameter for Theta sketch size. Throws a Spark SQL exception if the value is out of bounds.

    lgNomLongs

    Log2 of nominal entries

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. def wrapCompactSketch(bytes: Array[Byte], prettyName: String): CompactSketch

    Wraps a byte array into a DataSketches CompactSketch object.

    Wraps a byte array into a DataSketches CompactSketch object. This method safely deserializes a compact Theta sketch from its binary representation, handling potential deserialization errors by throwing appropriate Spark SQL exceptions.

    bytes

    The binary representation of a compact theta sketch

    prettyName

    The display name of the function/expression for error messages

    returns

    A CompactSketch object wrapping the provided bytes

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped