Class CassandraVector
java.lang.Object
org.springframework.data.cassandra.core.convert.CassandraVector
- All Implemented Interfaces:
Vector
-
Method Summary
Modifier and TypeMethodDescriptioncom.datastax.oss.driver.api.core.data.CqlVector<?> getType()static CassandraVectorof(com.datastax.oss.driver.api.core.data.CqlVector<?> cqlVector) Creates a new CassandraVector for the givenCqlVector.intsize()double[]float[]toString()
-
Method Details
-
of
Creates a new CassandraVector for the givenCqlVector.- Parameters:
cqlVector- must not be null.- Returns:
- a new CassandraVector for the given
CqlVector
-
getType
-
getSource
-
size
-
toFloatArray
public float[] toFloatArray()- Specified by:
toFloatArrayin interfaceVector
-
toDoubleArray
public double[] toDoubleArray()- Specified by:
toDoubleArrayin interfaceVector
-
toString
-