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

com.databricks.sdk.service.vectorsearch.MiniVectorIndex Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.vectorsearch;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

@Generated
public class MiniVectorIndex {
  /** The user who created the index. */
  @JsonProperty("creator")
  private String creator;

  /** Name of the endpoint associated with the index */
  @JsonProperty("endpoint_name")
  private String endpointName;

  /**
   * There are 2 types of Vector Search indexes:
   *
   * 

- `DELTA_SYNC`: An index that automatically syncs with a source Delta Table, automatically * and incrementally updating the index as the underlying data in the Delta Table changes. - * `DIRECT_ACCESS`: An index that supports direct read and write of vectors and metadata through * our REST and SDK APIs. With this model, the user manages index updates. */ @JsonProperty("index_type") private VectorIndexType indexType; /** Name of the index */ @JsonProperty("name") private String name; /** Primary key of the index */ @JsonProperty("primary_key") private String primaryKey; public MiniVectorIndex setCreator(String creator) { this.creator = creator; return this; } public String getCreator() { return creator; } public MiniVectorIndex setEndpointName(String endpointName) { this.endpointName = endpointName; return this; } public String getEndpointName() { return endpointName; } public MiniVectorIndex setIndexType(VectorIndexType indexType) { this.indexType = indexType; return this; } public VectorIndexType getIndexType() { return indexType; } public MiniVectorIndex setName(String name) { this.name = name; return this; } public String getName() { return name; } public MiniVectorIndex setPrimaryKey(String primaryKey) { this.primaryKey = primaryKey; return this; } public String getPrimaryKey() { return primaryKey; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MiniVectorIndex that = (MiniVectorIndex) o; return Objects.equals(creator, that.creator) && Objects.equals(endpointName, that.endpointName) && Objects.equals(indexType, that.indexType) && Objects.equals(name, that.name) && Objects.equals(primaryKey, that.primaryKey); } @Override public int hashCode() { return Objects.hash(creator, endpointName, indexType, name, primaryKey); } @Override public String toString() { return new ToStringer(MiniVectorIndex.class) .add("creator", creator) .add("endpointName", endpointName) .add("indexType", indexType) .add("name", name) .add("primaryKey", primaryKey) .toString(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy