abstract class InterpretedHashFunction extends AnyRef
Base class for interpreted hash functions.
- Alphabetic
- By Inheritance
- InterpretedHashFunction
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InterpretedHashFunction()
Abstract Value Members
Concrete 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 def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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 hash(value: Any, dataType: DataType, seed: Long, isCollationAware: Boolean, legacyCollationAwareHashing: Boolean): Long
Computes hash of a given
valueof typedataType.Computes hash of a given
valueof typedataType. The caller needs to check the validity of inputvalue. TheisCollationAwareboolean flag indicates whether hashing should take a string's collation into account. If not, the bytes of the string are hashed, otherwise the collation key of the string is hashed. - def hash(value: Any, dataType: DataType, seed: Long): Long
This method is intended for callers using the old hash API and preserves compatibility for supported data types.
This method is intended for callers using the old hash API and preserves compatibility for supported data types. It must only be used for data types that do not include collated strings or complex types (e.g., structs, arrays, maps) that may contain collated strings.
The caller is responsible for ensuring that
dataTypedoes not involve collation-aware fields. This is validated via an internal assertion.- Exceptions thrown
IllegalArgumentExceptionifdataTypecontains non-UTF8 binary collation.
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)