com.aerospike.vector.client.proto.HnswCachingParamsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avs-client-java Show documentation
Show all versions of avs-client-java Show documentation
This project includes the Java client for Aerospike Vector Search for high-performance data interactions.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: types.proto
// Protobuf Java Version: 3.25.1
package com.aerospike.vector.client.proto;
public interface HnswCachingParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:aerospike.vector.HnswCachingParams)
com.google.protobuf.MessageOrBuilder {
/**
*
* Maximum number of entries to cache.
* Defaults to the global cache config configured for the VectorDB.
*
*
* optional uint64 maxEntries = 1;
* @return Whether the maxEntries field is set.
*/
boolean hasMaxEntries();
/**
*
* Maximum number of entries to cache.
* Defaults to the global cache config configured for the VectorDB.
*
*
* optional uint64 maxEntries = 1;
* @return The maxEntries.
*/
long getMaxEntries();
/**
*
* A cache entry will expire after this time in milliseconds has
* expired after the entry was added to cache.
* Defaults to the global cache config configured for the VectorDB.
*
*
* optional uint64 expiry = 2;
* @return Whether the expiry field is set.
*/
boolean hasExpiry();
/**
*
* A cache entry will expire after this time in milliseconds has
* expired after the entry was added to cache.
* Defaults to the global cache config configured for the VectorDB.
*
*
* optional uint64 expiry = 2;
* @return The expiry.
*/
long getExpiry();
}