Class Vector
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.Base
co.elastic.clients.elasticsearch.xpack.usage.Vector
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Vector extends Base
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVector.BuilderBuilder forVector.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base
Base.AbstractBuilder<BuilderT extends Base.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Vector>_DESERIALIZERJson deserializer forVector -
Method Summary
Modifier and Type Method Description intdenseVectorDimsAvgCount()Required - API name:dense_vector_dims_avg_countintdenseVectorFieldsCount()Required - API name:dense_vector_fields_countstatic Vectorof(java.util.function.Function<Vector.Builder,ObjectBuilder<Vector>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupVectorDeserializer(ObjectDeserializer<Vector.Builder> op)java.lang.IntegersparseVectorFieldsCount()API name:sparse_vector_fields_countMethods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base
available, baseOf, enabled, serialize, setupBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forVector
-
-
Method Details
-
of
-
denseVectorDimsAvgCount
public final int denseVectorDimsAvgCount()Required - API name:dense_vector_dims_avg_count -
denseVectorFieldsCount
public final int denseVectorFieldsCount()Required - API name:dense_vector_fields_count -
sparseVectorFieldsCount
@Nullable public final java.lang.Integer sparseVectorFieldsCount()API name:sparse_vector_fields_count -
serializeInternal
- Overrides:
serializeInternalin classBase
-
setupVectorDeserializer
-