technology.semi.weaviate.client.v1.classifications.model.ParamsKNN Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A java client for Weaviate Vector Search Engine
// Generated by delombok at Mon Nov 21 14:07:44 UTC 2022
package technology.semi.weaviate.client.v1.classifications.model;
public class ParamsKNN {
private Integer k;
@java.lang.SuppressWarnings("all")
ParamsKNN(final Integer k) {
this.k = k;
}
@java.lang.SuppressWarnings("all")
public static class ParamsKNNBuilder {
@java.lang.SuppressWarnings("all")
private Integer k;
@java.lang.SuppressWarnings("all")
ParamsKNNBuilder() {
}
@java.lang.SuppressWarnings("all")
public ParamsKNN.ParamsKNNBuilder k(final Integer k) {
this.k = k;
return this;
}
@java.lang.SuppressWarnings("all")
public ParamsKNN build() {
return new ParamsKNN(this.k);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ParamsKNN.ParamsKNNBuilder(k=" + this.k + ")";
}
}
@java.lang.SuppressWarnings("all")
public static ParamsKNN.ParamsKNNBuilder builder() {
return new ParamsKNN.ParamsKNNBuilder();
}
@java.lang.SuppressWarnings("all")
public Integer getK() {
return this.k;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ParamsKNN(k=" + this.getK() + ")";
}
}