object ThetaSketchUtils
- Alphabetic
- By Inheritance
- ThetaSketchUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val DEFAULT_LG_NOM_LONGS: Int(12)
- final val MAX_LG_NOM_LONGS: Int(26)
- final val MIN_LG_NOM_LONGS: Int(4)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)