final class VoyagerScioContextOps extends AnyVal
- Alphabetic
- By Inheritance
- VoyagerScioContextOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VoyagerScioContextOps(self: ScioContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
- 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()
- 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()