Package

org.apache.spark.isarnproject.sketches

udt

Permalink

package udt

Visibility
  1. Public
  2. All

Type Members

  1. case class TDigestArraySQL(tdigests: Array[TDigest]) extends Product with Serializable

    Permalink

    A type for receiving the results of deserializing TDigestArrayUDT.

    A type for receiving the results of deserializing TDigestArrayUDT. The payload is the tdigests member field, holding an Array of TDigest objects.

    tdigests

    An array of TDigest objects, which do the actual sketching.

    Annotations
    @SQLUserDefinedType()
    See also

    TDigestSQL for additional context

  2. class TDigestArrayUDT extends UserDefinedType[TDigestArraySQL]

    Permalink

    A UserDefinedType for serializing and deserializing TDigestArraySQL objects during UDAF aggregations

  3. case class TDigestSQL(tdigest: TDigest) extends Product with Serializable

    Permalink

    A type for receiving the results of deserializing TDigestUDT.

    A type for receiving the results of deserializing TDigestUDT. The payload is the tdigest member field, holding a TDigest object. This is necessary because (a) I define the TDigest type is defined in the isarn-sketches package and I do not want any Spark dependencies on that package, and (b) Spark has privatized UserDefinedType under org.apache.spark scope, and so I have to have a paired result type in the same scope.

    tdigest

    The TDigest payload, which does the actual sketching.

    Annotations
    @SQLUserDefinedType()
  4. class TDigestUDT extends UserDefinedType[TDigestSQL]

    Permalink

    A UserDefinedType for serializing and deserializing TDigestSQL structures during UDAF aggregations.

Value Members

  1. object TDigestArrayUDT extends TDigestArrayUDT with Product with Serializable

    Permalink

    A TDigestArrayUDT instance for use in declaring UDAF objects

  2. object TDigestUDT extends TDigestUDT with Product with Serializable

    Permalink

    Instantiated instance of TDigestUDT for use by UDAF objects

  3. object TDigestUDTInfra

    Permalink

    Shims for exposing Spark's VectorUDT objects outside of org.apache.spark scope

Ungrouped