Class

com.spotify.scio.extra.annoy

AnnoyScioContext

Related Doc: package annoy

Permalink

implicit final class AnnoyScioContext extends AnyVal

Enhanced version of ScioContext with Annoy methods.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnnoyScioContext
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnnoyScioContext(self: ScioContext)

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    Any
  4. def annoySideInput(path: String, metric: AnnoyMetric, dim: Int): SideInput[AnnoyReader]

    Permalink

    Create a SideInput of AnnoyReader from an AnnoyUri base path, to be used with SCollection.withSideInputs

    Create a SideInput of AnnoyReader from an AnnoyUri base path, to be used with SCollection.withSideInputs

    metric

    Metric (Angular, Euclidean) used to build the Annoy index

    dim

    Number of dimensions in vectors used to build the Annoy index

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. val self: ScioContext

    Permalink
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped