Class VectorQueryOptions (3.28.0)

public class VectorQueryOptions

Specifies the behavior of the VectorQuery generated by a call to Query#findNearest.

Inheritance

Object > VectorQueryOptions

Static Methods

newBuilder()

public static VectorQueryOptions.Builder newBuilder()
Returns
Type Description
VectorQueryOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)

Returns true if this VectorQueryOptions is equal to the provided object.

Parameter
Name Description
obj Object

The object to compare against.

Returns
Type Description
boolean

Whether this VectorQueryOptions is equal to the provided object.

Overrides

getDistanceResultField()

public FieldPath getDistanceResultField()
Returns
Type Description
FieldPath

getDistanceThreshold()

public Double getDistanceThreshold()
Returns
Type Description
Double

toString()

public String toString()
Returns
Type Description
String
Overrides