Java package: com.nvidia.cuvs
TieredIndex encapsulates a Tiered index, along with methods to interact with it.
Destroys the underlying native TieredIndex object and releases associated resources.
Throws
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:22
Searches the index with the specified query and search parameters.
Parameters
Returns
An instance of SearchResults containing the k-nearest neighbors and their distances for each query
Throws
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:34
Returns the algorithm type backing this TieredIndex.
Returns
The TieredIndexType indicating the underlying algorithm (e.g., CAGRA)
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:42
Returns the resources handle associated with this TieredIndex.
Returns
The CuVSResources instance used by this index
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:49
Creates a new Builder with an instance of CuVSResources.
Parameters
Returns
A new Builder instance for constructing a TieredIndex
Throws
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:58
Returns an ExtendBuilder to add new data to the existing index.
Returns
An ExtendBuilder instance for extending the index
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:68
Parameters
Returns
This Builder instance for method chaining
Throws
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:82
Sets the dataset vectors for building the TieredIndex.
Parameters
Returns
This Builder instance for method chaining
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:91
Sets the dataset for building the TieredIndex.
Parameters
Returns
This Builder instance for method chaining
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:99
Registers TieredIndex parameters with this Builder.
Parameters
Returns
This Builder instance for method chaining
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:108
Sets the index type for the TieredIndex.
Parameters
Returns
This Builder instance for method chaining
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:117
Builds and returns an instance of TieredIndex with the configured parameters.
Returns
A new TieredIndex instance
Throws
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:129
Sets the vectors to add to the existing index.
Parameters
Returns
This ExtendBuilder instance for method chaining
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:152
Sets the dataset to add to the existing index.
Parameters
Returns
This ExtendBuilder instance for method chaining
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:161
Executes the extend operation, adding the specified data to the index.
Throws
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:171
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/TieredIndex.java:15