Packages

c

com.spotify.scio.extra.voyager.syntax

VoyagerScioContextOps

final class VoyagerScioContextOps extends AnyVal

Enhanced version of ScioContext with Voyager methods

Source
ScioContextSyntax.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VoyagerScioContextOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new VoyagerScioContextOps(self: ScioContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def toString(): String
    Definition Classes
    Any
  8. def voyagerSideInput(uri: VoyagerUri): SideInput[VoyagerReader]

    Creates a SideInput of VoyagerReader from an VoyagerUri base path.

    Creates a SideInput of VoyagerReader from an VoyagerUri base path. To be used with SCollection.withSideInputs

    uri

    The VoyagerUri base path to a voyager v2 index.

    returns

    A SideInput of the VoyagerReader to be used for querying.

    Annotations
    @experimental()
  9. def voyagerSideInput(uri: VoyagerUri, space: SpaceType, numDimensions: Int, storageDataType: StorageDataType): SideInput[VoyagerReader]

    Creates a SideInput of VoyagerReader from an VoyagerUri base path.

    Creates a SideInput of VoyagerReader from an VoyagerUri base path. To be used with SCollection.withSideInputs

    uri

    The VoyagerUri base path to a voyager index.

    space

    The measurement for computing distance between entities. One of Euclidean, Cosine or Dot (inner product).

    numDimensions

    Number of dimensions in vectors.

    storageDataType

    The datatype to use under-the-hood when storing vectors.

    returns

    A SideInput of the VoyagerReader to be used for querying.

    Annotations
    @experimental()

Inherited from AnyVal

Inherited from Any

Ungrouped