All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gc.easy.redis.vector.FieldSchema Maven / Gradle / Ivy

package com.gc.easy.redis.vector;

import lombok.Data;

@Data
public  class FieldSchema {
    private  String name;
    private  FieldType type;
    private  VectorDataType dataType;
    private  Integer dimension;
    private  DistanceMetric metric;

    public FieldSchema(String name, FieldType type, VectorDataType dataType, Integer dimension, DistanceMetric metric) {
        this.name = name;
        this.type = type;
        this.dataType = dataType;
        this.dimension = dimension;
        this.metric = metric;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy