Packages

c

com.spotify.scio.extra.voyager.syntax

VoyagerSCollectionOps

final class VoyagerSCollectionOps extends AnyVal

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

Instance Constructors

  1. new VoyagerSCollectionOps(self: SCollection[VoyagerUri])

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 asVoyagerSideInput(): SideInput[VoyagerReader]

    Load the Voyager v2 index stored at VoyagerUri in this SCollection.

    Load the Voyager v2 index stored at VoyagerUri in this SCollection.

    returns

    SideInput[VoyagerReader]

    Annotations
    @experimental()
  6. def asVoyagerSideInput(space: SpaceType, numDimensions: Int, storageDataType: StorageDataType): SideInput[VoyagerReader]

    Load the Voyager index stored at VoyagerUri in this SCollection.

    Load the Voyager index stored at VoyagerUri in this SCollection.

    space

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

    numDimensions

    Number of dimensions in vectors.

    storageDataType

    The Storage type of the vectors at rest. One of Float8, Float32 or E4M3.

    returns

    SideInput[VoyagerReader]

    Annotations
    @experimental()
  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped