Module spring.data.cassandra
Annotation Interface VectorType
@Documented
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER})
@CassandraType(type=VECTOR)
public @interface VectorType
Specific variant of
CassandraType(VECTOR) allowing specification of a Cassandra vector type alongside with
its subtype and number of dimensions.- Since:
- 4.5
- Author:
- Mark Paluch
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
dimensions
int dimensions- Returns:
- number of dimensions.
-
-
-
subtype
CassandraType.Name subtype- Returns:
- Vector subtype, defaults to float.
- Default:
- FLOAT
-