Package com.google.cloud.firestore
Class VectorValue
java.lang.Object
com.google.cloud.firestore.VectorValue
- All Implemented Interfaces:
Serializable
Represents a vector in Firestore documents. Create an instance with
FieldValue.vector(double[]).- See Also:
-
Method Summary
-
Method Details
-
toArray
Returns a representation of the vector as an array of doubles.- Returns:
- A representation of the vector as an array of doubles
-
equals
Returns true if this VectorValue is equal to the provided object. -
hashCode
public int hashCode()
-