- baseId() - Method in class com.lancedb.lance.index.Index
-
- baseId(Integer) - Method in class com.lancedb.lance.index.Index.Builder
-
- batchReadahead(int) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Set the batch readahead.
- batchSize(long) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Set the batch size.
- BlobFile - Class in com.lancedb.lance
-
BlobFile: a file-like abstraction for a single blob, aligned with Lance Rust/Python semantics.
- BlobFile() - Constructor for class com.lancedb.lance.BlobFile
-
Default no-arg constructor used by JNI to attach native handle.
- blobsOperation() - Method in class com.lancedb.lance.Transaction
-
- blobsOperation(Operation) - Method in class com.lancedb.lance.Transaction.Builder
-
- Branch - Class in com.lancedb.lance
-
Branch metadata aligned with Rust's BranchContents.
- Branch(String, String, long, long, int) - Constructor for class com.lancedb.lance.Branch
-
- branches() - Method in class com.lancedb.lance.Dataset
-
Branch operations aligned with Rust's Dataset branch APIs.
- Branches() - Constructor for class com.lancedb.lance.Dataset.Branches
-
- build() - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- build() - Method in class com.lancedb.lance.index.Index.Builder
-
- build() - Method in class com.lancedb.lance.index.IndexParams.Builder
-
- build() - Method in class com.lancedb.lance.index.scalar.ScalarIndexParams.Builder
-
- build() - Method in class com.lancedb.lance.index.vector.HnswBuildParams.Builder
-
- build() - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
- build() - Method in class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
- build() - Method in class com.lancedb.lance.index.vector.SQBuildParams.Builder
-
- build() - Method in class com.lancedb.lance.index.vector.VectorIndexParams.Builder
-
- build() - Method in class com.lancedb.lance.ipc.ColumnOrdering.Builder
-
- build() - Method in class com.lancedb.lance.ipc.Query.Builder
-
Builds the Query object.
- build() - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Build the LanceScanOptions instance.
- build() - Method in class com.lancedb.lance.operation.Append.Builder
-
- build() - Method in class com.lancedb.lance.operation.DataReplacement.Builder
-
Build a new DataReplacement.
- build() - Method in class com.lancedb.lance.operation.Delete.Builder
-
- build() - Method in class com.lancedb.lance.operation.Merge.Builder
-
- build() - Method in class com.lancedb.lance.operation.Overwrite.Builder
-
- build() - Method in class com.lancedb.lance.operation.Project.Builder
-
- build() - Method in class com.lancedb.lance.operation.ReserveFragments.Builder
-
- build() - Method in class com.lancedb.lance.operation.Restore.Builder
-
- build() - Method in class com.lancedb.lance.operation.Rewrite.Builder
-
Build a new Rewrite operation.
- build() - Method in class com.lancedb.lance.operation.RewriteGroup.Builder
-
- build() - Method in class com.lancedb.lance.operation.RewrittenIndex.Builder
-
- build() - Method in class com.lancedb.lance.operation.Update.Builder
-
- build() - Method in class com.lancedb.lance.operation.UpdateConfig.Builder
-
- build() - Method in class com.lancedb.lance.operation.UpdateMap.Builder
-
- build() - Method in class com.lancedb.lance.ReadOptions.Builder
-
- build() - Method in class com.lancedb.lance.schema.ColumnAlteration.Builder
-
- build() - Method in class com.lancedb.lance.schema.SqlExpressions.Builder
-
- build() - Method in class com.lancedb.lance.Transaction.Builder
-
- build() - Method in class com.lancedb.lance.WriteParams.Builder
-
- builder() - Static method in class com.lancedb.lance.compaction.CompactionOptions
-
- builder() - Static method in class com.lancedb.lance.index.Index
-
Create a new builder for Index.
- builder() - Static method in class com.lancedb.lance.index.IndexParams
-
Create a new builder for IndexParams.
- Builder(String) - Constructor for class com.lancedb.lance.index.scalar.ScalarIndexParams.Builder
-
Create a new builder for scalar index parameters.
- Builder() - Constructor for class com.lancedb.lance.index.vector.HnswBuildParams.Builder
-
Create a new builder for HNSW index parameters.
- Builder() - Constructor for class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
Parameters for building an IVF index.
- Builder() - Constructor for class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
Create a new builder for training a PQ model.
- Builder() - Constructor for class com.lancedb.lance.index.vector.SQBuildParams.Builder
-
- Builder(IvfBuildParams) - Constructor for class com.lancedb.lance.index.vector.VectorIndexParams.Builder
-
Create a new builder to create a vector index.
- Builder() - Constructor for class com.lancedb.lance.ipc.ColumnOrdering.Builder
-
- Builder() - Constructor for class com.lancedb.lance.ipc.Query.Builder
-
- Builder() - Constructor for class com.lancedb.lance.ipc.ScanOptions.Builder
-
- Builder(ScanOptions) - Constructor for class com.lancedb.lance.ipc.ScanOptions.Builder
-
Create a builder from another scan options.
- builder() - Static method in class com.lancedb.lance.operation.Append
-
- Builder() - Constructor for class com.lancedb.lance.operation.Append.Builder
-
- builder() - Static method in class com.lancedb.lance.operation.DataReplacement
-
Create a new builder for DataReplacement.
- Builder() - Constructor for class com.lancedb.lance.operation.DataReplacement.Builder
-
- builder() - Static method in class com.lancedb.lance.operation.Delete
-
- builder() - Static method in class com.lancedb.lance.operation.Merge
-
- builder() - Static method in class com.lancedb.lance.operation.Overwrite
-
- builder() - Static method in class com.lancedb.lance.operation.Project
-
- Builder() - Constructor for class com.lancedb.lance.operation.Project.Builder
-
- builder() - Static method in class com.lancedb.lance.operation.ReserveFragments
-
- Builder() - Constructor for class com.lancedb.lance.operation.ReserveFragments.Builder
-
- builder() - Static method in class com.lancedb.lance.operation.Restore
-
- Builder() - Constructor for class com.lancedb.lance.operation.Restore.Builder
-
- builder() - Static method in class com.lancedb.lance.operation.Rewrite
-
Create a new builder for Rewrite.
- builder() - Static method in class com.lancedb.lance.operation.RewriteGroup
-
- builder() - Static method in class com.lancedb.lance.operation.RewrittenIndex
-
- builder() - Static method in class com.lancedb.lance.operation.Update
-
- builder() - Static method in class com.lancedb.lance.operation.UpdateConfig
-
- Builder() - Constructor for class com.lancedb.lance.operation.UpdateConfig.Builder
-
- builder() - Static method in class com.lancedb.lance.operation.UpdateMap
-
- Builder() - Constructor for class com.lancedb.lance.operation.UpdateMap.Builder
-
- Builder() - Constructor for class com.lancedb.lance.ReadOptions.Builder
-
- Builder(String) - Constructor for class com.lancedb.lance.schema.ColumnAlteration.Builder
-
- Builder() - Constructor for class com.lancedb.lance.schema.SqlExpressions.Builder
-
- Builder(Dataset) - Constructor for class com.lancedb.lance.Transaction.Builder
-
- Builder() - Constructor for class com.lancedb.lance.WriteParams.Builder
-
- bytesWritten() - Method in class com.lancedb.lance.merge.MergeInsertStats
-
- calculateDataSize() - Method in class com.lancedb.lance.Dataset
-
Calculate the size of the dataset.
- castTo(ArrowType) - Method in class com.lancedb.lance.schema.ColumnAlteration.Builder
-
- checkout(Ref) - Method in class com.lancedb.lance.Dataset
-
Checkout using a unified
Ref which can be a tag, the latest version on main/branch or a
specified (branch_name, version_number).
- checkoutLatest() - Method in class com.lancedb.lance.Dataset
-
Checkout the dataset to the latest version.
- checkoutTag(String) - Method in class com.lancedb.lance.Dataset
-
Checks out a specific tag of the dataset.
- checkoutVersion(long) - Method in class com.lancedb.lance.Dataset
-
Checks out a specific version of the dataset.
- close() - Method in class com.lancedb.lance.BlobFile
-
Close BlobFile and release associated resources.
- close() - Method in class com.lancedb.lance.Dataset
-
Closes this dataset and releases any system resources associated with it.
- close() - Method in class com.lancedb.lance.file.LanceFileReader
-
Close the LanceFileReader
- close() - Method in class com.lancedb.lance.file.LanceFileWriter
-
Close the LanceFileWriter
- close() - Method in class com.lancedb.lance.ipc.LanceScanner
-
Closes this scanner and releases any system resources associated with it.
- close() - Method in class com.lancedb.lance.LockManager.ReadLock
-
- close() - Method in class com.lancedb.lance.LockManager.WriteLock
-
- closed() - Method in class com.lancedb.lance.Dataset
-
Checks if the dataset is closed.
- ColumnAlteration - Class in com.lancedb.lance.schema
-
Column alteration used to alter dataset columns.
- ColumnAlteration.Builder - Class in com.lancedb.lance.schema
-
- ColumnOrdering - Class in com.lancedb.lance.ipc
-
- ColumnOrdering.Builder - Class in com.lancedb.lance.ipc
-
- columns(List<String>) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Set the columns.
- com.lancedb.lance - package com.lancedb.lance
-
- com.lancedb.lance.compaction - package com.lancedb.lance.compaction
-
- com.lancedb.lance.file - package com.lancedb.lance.file
-
- com.lancedb.lance.fragment - package com.lancedb.lance.fragment
-
- com.lancedb.lance.index - package com.lancedb.lance.index
-
- com.lancedb.lance.index.scalar - package com.lancedb.lance.index.scalar
-
- com.lancedb.lance.index.vector - package com.lancedb.lance.index.vector
-
- com.lancedb.lance.ipc - package com.lancedb.lance.ipc
-
- com.lancedb.lance.merge - package com.lancedb.lance.merge
-
- com.lancedb.lance.operation - package com.lancedb.lance.operation
-
- com.lancedb.lance.schema - package com.lancedb.lance.schema
-
- com.lancedb.lance.test - package com.lancedb.lance.test
-
- com.lancedb.lance.util - package com.lancedb.lance.util
-
- commit(BufferAllocator, String, FragmentOperation, Optional<Long>) - Static method in class com.lancedb.lance.Dataset
-
Deprecated.
- commit(BufferAllocator, String, FragmentOperation, Optional<Long>, Map<String, String>) - Static method in class com.lancedb.lance.Dataset
-
Deprecated.
- commit(BufferAllocator, String, Optional<Long>, Map<String, String>) - Method in class com.lancedb.lance.FragmentOperation.Append
-
Deprecated.
- commit(BufferAllocator, String, Optional<Long>, Map<String, String>) - Method in class com.lancedb.lance.FragmentOperation
-
Deprecated.
- commit(BufferAllocator, String, Optional<Long>, Map<String, String>) - Method in class com.lancedb.lance.FragmentOperation.Overwrite
-
Deprecated.
- commit() - Method in class com.lancedb.lance.Transaction
-
- commitAppend(String, Optional<Long>, List<FragmentMetadata>, Map<String, String>) - Static method in class com.lancedb.lance.Dataset
-
Deprecated.
- commitCompaction(Dataset, List<RewriteResult>, CompactionOptions) - Static method in class com.lancedb.lance.compaction.Compaction
-
- commitOverwrite(String, long, Optional<Long>, List<FragmentMetadata>, Map<String, String>) - Static method in class com.lancedb.lance.Dataset
-
Deprecated.
- commitTransaction(Transaction) - Method in class com.lancedb.lance.Dataset
-
Commit a single transaction and return a new Dataset with the new version.
- compact(CompactionOptions) - Method in class com.lancedb.lance.Dataset
-
Compact the dataset to improve performance.
- compact() - Method in class com.lancedb.lance.Dataset
-
Compact the dataset with default options.
- Compaction - Class in com.lancedb.lance.compaction
-
The entrypoint of distributed compaction-related methods.
- Compaction() - Constructor for class com.lancedb.lance.compaction.Compaction
-
- CompactionMetrics - Class in com.lancedb.lance.compaction
-
The compaction metrics.
- CompactionMetrics(long, long, long, long) - Constructor for class com.lancedb.lance.compaction.CompactionMetrics
-
- CompactionOptions - Class in com.lancedb.lance.compaction
-
Compaction options.
- CompactionOptions.Builder - Class in com.lancedb.lance.compaction
-
Builder for CompactionOptions.
- CompactionPlan - Class in com.lancedb.lance.compaction
-
The compaction plan.
- CompactionPlan(List<TaskData>, long, CompactionOptions) - Constructor for class com.lancedb.lance.compaction.CompactionPlan
-
- CompactionTask - Class in com.lancedb.lance.compaction
-
The compaction task which can be sent across network and executed individually.
- CompactionTask(TaskData, long, CompactionOptions) - Constructor for class com.lancedb.lance.compaction.CompactionTask
-
- configUpdates(UpdateMap) - Method in class com.lancedb.lance.operation.UpdateConfig.Builder
-
- configUpdates() - Method in class com.lancedb.lance.operation.UpdateConfig
-
- configUpsertValues(Map<String, String>) - Method in class com.lancedb.lance.operation.Overwrite.Builder
-
- configUpsertValues() - Method in class com.lancedb.lance.operation.Overwrite
-
- conflictRetries() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- convert(Optional<String[]>) - Static method in class com.lancedb.lance.Utils
-
Convert optional array to optional list for JNI processing.
- countRows() - Method in class com.lancedb.lance.Dataset
-
Count the number of rows in the dataset.
- countRows(String) - Method in class com.lancedb.lance.Dataset
-
Count the number of rows in the dataset.
- countRows() - Method in class com.lancedb.lance.Fragment
-
- countRows() - Method in class com.lancedb.lance.ipc.LanceScanner
-
Scan and return the number of matching rows (fulfill the given scan options).
- create(String, long) - Method in class com.lancedb.lance.Dataset.Branches
-
Create a branch at a specified version.
- create(String, long, String) - Method in class com.lancedb.lance.Dataset.Branches
-
Create a branch from a specific source branch and version.
- create(String, String) - Method in class com.lancedb.lance.Dataset.Branches
-
Create a branch from a tag reference.
- create(BufferAllocator, String, Schema, WriteParams) - Static method in class com.lancedb.lance.Dataset
-
Creates an empty dataset.
- create(BufferAllocator, ArrowArrayStream, String, WriteParams) - Static method in class com.lancedb.lance.Dataset
-
Create a dataset with given stream.
- create(String, long) - Method in class com.lancedb.lance.Dataset.Tags
-
Create a new tag on main branch.
- create(String, long, String) - Method in class com.lancedb.lance.Dataset.Tags
-
Create a new tag on a specified branch.
- create(String, BufferAllocator, VectorSchemaRoot, WriteParams) - Static method in class com.lancedb.lance.Fragment
-
Create a fragment from the given data.
- create(String, ArrowArrayStream, WriteParams) - Static method in class com.lancedb.lance.Fragment
-
Create a fragment from the given arrow stream.
- create(String) - Static method in class com.lancedb.lance.index.scalar.ScalarIndexParams
-
Create a new ScalarIndexParams with the given index type and no parameters.
- create(String, String) - Static method in class com.lancedb.lance.index.scalar.ScalarIndexParams
-
Create a new ScalarIndexParams with the given index type and JSON parameters.
- create(Dataset, ScanOptions, BufferAllocator) - Static method in class com.lancedb.lance.ipc.LanceScanner
-
Create a Scanner.
- createdAt(Instant) - Method in class com.lancedb.lance.index.Index.Builder
-
- createdAt() - Method in class com.lancedb.lance.index.Index
-
Get the creation time of the index.
- createIndex(List<String>, IndexType, Optional<String>, IndexParams, boolean) - Method in class com.lancedb.lance.Dataset
-
Creates a new index on the dataset.
- Range - Class in com.lancedb.lance.util
-
Define a range with start (include) and end (exclude).
- Range(int, int) - Constructor for class com.lancedb.lance.util.Range
-
- read() - Method in class com.lancedb.lance.BlobFile
-
Read all remaining bytes from current cursor to end.
- readAll(List<String>, List<Range>, int) - Method in class com.lancedb.lance.file.LanceFileReader
-
Read all rows from the Lance file
- ReadLock() - Constructor for class com.lancedb.lance.LockManager.ReadLock
-
Acquires a read lock on the lock manager.
- ReadOptions - Class in com.lancedb.lance
-
Read options for reading from a dataset.
- ReadOptions.Builder - Class in com.lancedb.lance
-
- readTransaction() - Method in class com.lancedb.lance.Dataset
-
Get the
Transaction of the dataset at the current version.
- readUpTo(int) - Method in class com.lancedb.lance.BlobFile
-
Read up to len bytes from the current cursor.
- readVersion(long) - Method in class com.lancedb.lance.Transaction.Builder
-
- readVersion() - Method in class com.lancedb.lance.Transaction
-
- Ref - Class in com.lancedb.lance
-
- Ref(Optional<Long>, Optional<String>, Optional<String>) - Constructor for class com.lancedb.lance.Ref
-
- release() - Method in interface com.lancedb.lance.operation.Operation
-
Release the underlying JNI resource like arrow c schema
- release() - Method in class com.lancedb.lance.operation.SchemaOperation
-
- release() - Method in class com.lancedb.lance.Transaction
-
- removedFragmentIds(List<Long>) - Method in class com.lancedb.lance.operation.Update.Builder
-
- removedFragmentIds() - Method in class com.lancedb.lance.operation.Update
-
- rename(String) - Method in class com.lancedb.lance.schema.ColumnAlteration.Builder
-
- replace(boolean) - Method in class com.lancedb.lance.operation.UpdateMap.Builder
-
- replace() - Method in class com.lancedb.lance.operation.UpdateMap
-
- replacedFile() - Method in class com.lancedb.lance.operation.DataReplacement.DataReplacementGroup
-
Get the new data file.
- replacements(List<DataReplacement.DataReplacementGroup>) - Method in class com.lancedb.lance.operation.DataReplacement.Builder
-
Set the list of data replacement groups.
- replacements() - Method in class com.lancedb.lance.operation.DataReplacement
-
Get the list of data replacement groups.
- ReserveFragments - Class in com.lancedb.lance.operation
-
ReserveFragments operation to reserve fragment IDs for future use.
- ReserveFragments.Builder - Class in com.lancedb.lance.operation
-
- restore() - Method in class com.lancedb.lance.Dataset
-
Restore the currently checked out version of the dataset as the latest version.
- Restore - Class in com.lancedb.lance.operation
-
Restore operation to revert a dataset to a previous version.
- Restore.Builder - Class in com.lancedb.lance.operation
-
- retryTimeoutMs() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- Rewrite - Class in com.lancedb.lance.operation
-
Rewrite operation for reorganizing data without changing content.
- Rewrite.Builder - Class in com.lancedb.lance.operation
-
Builder for Rewrite.
- RewriteGroup - Class in com.lancedb.lance.operation
-
A group of fragments to be rewritten.
- RewriteGroup.Builder - Class in com.lancedb.lance.operation
-
- RewriteResult - Class in com.lancedb.lance.compaction
-
Rewrite Result of a single compaction task.
- RewriteResult(CompactionMetrics, List<FragmentMetadata>, List<FragmentMetadata>, long, Map<Long, Long>, byte[]) - Constructor for class com.lancedb.lance.compaction.RewriteResult
-
- RewrittenIndex - Class in com.lancedb.lance.operation
-
A rewritten index mapping from old index UUID to new index UUID.
- RewrittenIndex.Builder - Class in com.lancedb.lance.operation
-
- rewrittenIndices(List<RewrittenIndex>) - Method in class com.lancedb.lance.operation.Rewrite.Builder
-
Set the rewritten indices.
- rewrittenIndices() - Method in class com.lancedb.lance.operation.Rewrite
-
Get the rewritten indices.
- ROWADDR - Static variable in class com.lancedb.lance.MetadataColumns
-
- RowAddress - Class in com.lancedb.lance
-
- RowAddress() - Constructor for class com.lancedb.lance.RowAddress
-
- ROWID - Static variable in class com.lancedb.lance.MetadataColumns
-
- RowIdMeta - Class in com.lancedb.lance.fragment
-
- RowIdMeta(String) - Constructor for class com.lancedb.lance.fragment.RowIdMeta
-
- rowIndex(long) - Static method in class com.lancedb.lance.RowAddress
-
- ScalarIndexParams - Class in com.lancedb.lance.index.scalar
-
Parameters for creating scalar indices.
- ScalarIndexParams.Builder - Class in com.lancedb.lance.index.scalar
-
- scan() - Method in class com.lancedb.lance.ipc.LanceScanner
-
- scanBatches() - Method in class com.lancedb.lance.ipc.LanceScanner
-
- ScanOptions - Class in com.lancedb.lance.ipc
-
Lance scan options.
- ScanOptions(Optional<List<Integer>>, Optional<Long>, Optional<List<String>>, Optional<String>, Optional<ByteBuffer>, Optional<Long>, Optional<Long>, Optional<Query>, boolean, boolean, int, Optional<List<ColumnOrdering>>) - Constructor for class com.lancedb.lance.ipc.ScanOptions
-
Constructor for LanceScanOptions.
- ScanOptions.Builder - Class in com.lancedb.lance.ipc
-
Builder for constructing LanceScanOptions.
- schema() - Method in class com.lancedb.lance.file.LanceFileReader
-
Get the schema of the Lance file
- schema() - Method in class com.lancedb.lance.ipc.LanceScanner
-
- schema(Schema) - Method in class com.lancedb.lance.operation.Merge.Builder
-
- schema(Schema) - Method in class com.lancedb.lance.operation.Overwrite.Builder
-
- schema(Schema) - Method in class com.lancedb.lance.operation.Project.Builder
-
- schema() - Method in class com.lancedb.lance.operation.SchemaOperation
-
- schemaMetadata(Map<String, String>) - Method in class com.lancedb.lance.operation.UpdateConfig.Builder
-
- schemaMetadata() - Method in class com.lancedb.lance.operation.UpdateConfig
-
- schemaMetadataUpdates(UpdateMap) - Method in class com.lancedb.lance.operation.UpdateConfig.Builder
-
- schemaMetadataUpdates() - Method in class com.lancedb.lance.operation.UpdateConfig
-
- SchemaOperation - Class in com.lancedb.lance.operation
-
Schema related base operation.
- SchemaOperation(Schema) - Constructor for class com.lancedb.lance.operation.SchemaOperation
-
- seek(long) - Method in class com.lancedb.lance.BlobFile
-
Seek to a new cursor position.
- setAscending(boolean) - Method in class com.lancedb.lance.ipc.ColumnOrdering.Builder
-
- setBlockSize(int) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Block size in bytes.
- setColumn(String) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the column to be searched.
- setColumnName(String) - Method in class com.lancedb.lance.ipc.ColumnOrdering.Builder
-
- setColumnOrderings(List<ColumnOrdering>) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
- setDistanceType(DistanceType) - Method in class com.lancedb.lance.index.vector.VectorIndexParams.Builder
-
- setDistanceType(DistanceType) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the distance metric type.
- setEf(int) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the number of candidates to reserve while searching.
- setEfConstruction(int) - Method in class com.lancedb.lance.index.vector.HnswBuildParams.Builder
-
- setExpression(String) - Method in class com.lancedb.lance.schema.SqlExpressions.SqlExpression
-
- setHnswParams(HnswBuildParams) - Method in class com.lancedb.lance.index.vector.VectorIndexParams.Builder
-
- setIndexCacheSize(int) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Deprecated.
- setIndexCacheSizeBytes(long) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Index cache size in bytes.
- setJsonParams(String) - Method in class com.lancedb.lance.index.scalar.ScalarIndexParams.Builder
-
Set the parameters for the index as a JSON string.
- setK(int) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the number of top results to return.
- setKey(float[]) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the vector to be searched.
- setKmeansRedos(int) - Method in class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
- setM(int) - Method in class com.lancedb.lance.index.vector.HnswBuildParams.Builder
-
- setMaximumNprobes(int) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the maximum number of partitions to search.
- setMaxIters(int) - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
- setMaxIters(int) - Method in class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
- setMaxLevel(short) - Method in class com.lancedb.lance.index.vector.HnswBuildParams.Builder
-
- setMetadataCacheSize(int) - Method in class com.lancedb.lance.ReadOptions.Builder
-
- setMetadataCacheSizeBytes(long) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Size of the metadata cache in bytes.
- setMinimumNprobes(int) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the minimum number of partitions to search.
- setName(String) - Method in class com.lancedb.lance.schema.SqlExpressions.SqlExpression
-
- setNprobes(int) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the number of probes to load and search.
- setNullFirst(boolean) - Method in class com.lancedb.lance.ipc.ColumnOrdering.Builder
-
- setNumBits(int) - Method in class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
- setNumBits(short) - Method in class com.lancedb.lance.index.vector.SQBuildParams.Builder
-
- setNumPartitions(int) - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
- setNumSubVectors(int) - Method in class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
The number of subvectors to divide the source vectors into.
- setPqParams(PQBuildParams) - Method in class com.lancedb.lance.index.vector.VectorIndexParams.Builder
-
- setPrefetchDistance(Integer) - Method in class com.lancedb.lance.index.vector.HnswBuildParams.Builder
-
- setRefineFactor(int) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets the refine factor for applying a refine step.
- setSampleRate(int) - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
Set the sample rate for training IVF centroids IVF centroids are trained from a sample of the
data (determined by the sample_rate).
- setSampleRate(int) - Method in class com.lancedb.lance.index.vector.PQBuildParams.Builder
-
- setSampleRate(int) - Method in class com.lancedb.lance.index.vector.SQBuildParams.Builder
-
- setScalarIndexParams(ScalarIndexParams) - Method in class com.lancedb.lance.index.IndexParams.Builder
-
Scalar index parameters for creating a scalar index.
- setSerializedManifest(ByteBuffer) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Use a serialized manifest instead of loading it from the object store.
- setShufflePartitionBatches(int) - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
Sets the number of batches, using the row group size of the dataset, to include in each
shuffle partition.
- setShufflePartitionConcurrency(int) - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
Set the number of shuffle partitions to process concurrently.
- setSqParams(SQBuildParams) - Method in class com.lancedb.lance.index.vector.VectorIndexParams.Builder
-
- setStorageOptions(Map<String, String>) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Set storage options.
- setUseIndex(boolean) - Method in class com.lancedb.lance.ipc.Query.Builder
-
Sets whether to use an ANN index if available.
- setUseResidual(boolean) - Method in class com.lancedb.lance.index.vector.IvfBuildParams.Builder
-
Set whether to use residual for k-means clustering.
- setVectorIndexParams(VectorIndexParams) - Method in class com.lancedb.lance.index.IndexParams.Builder
-
Vector index parameters for creating a vector index.
- setVersion(int) - Method in class com.lancedb.lance.ReadOptions.Builder
-
Set the version of the dataset to read.
- shallowClone(String, Ref) - Method in class com.lancedb.lance.Dataset
-
- shallowClone(String, Ref, Map<String, String>) - Method in class com.lancedb.lance.Dataset
-
Shallow clone the specified tag into a new dataset at the target path.
- size() - Method in class com.lancedb.lance.BlobFile
-
Return blob size in bytes.
- skipAutoCleanup() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- SQBuildParams - Class in com.lancedb.lance.index.vector
-
Parameters for using SQ quantizer.
- SQBuildParams.Builder - Class in com.lancedb.lance.index.vector
-
- sql(String) - Method in class com.lancedb.lance.Dataset
-
Execute SQL query on the dataset.
- SqlExpression() - Constructor for class com.lancedb.lance.schema.SqlExpressions.SqlExpression
-
- SqlExpressions - Class in com.lancedb.lance.schema
-
Represents a list of SQL expressions.
- SqlExpressions.Builder - Class in com.lancedb.lance.schema
-
- SqlExpressions.SqlExpression - Class in com.lancedb.lance.schema
-
- SqlQuery - Class in com.lancedb.lance
-
- SqlQuery(Dataset, String) - Constructor for class com.lancedb.lance.SqlQuery
-
- stats() - Method in class com.lancedb.lance.merge.MergeInsertResult
-
- StorageType - Enum in com.lancedb.lance.schema
-
- substraitFilter(ByteBuffer) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Set the substrait filter.
- validateFragments(List<FragmentMetadata>) - Static method in class com.lancedb.lance.FragmentOperation
-
Deprecated.
- valueOf(String) - Static method in enum com.lancedb.lance.fragment.DeletionFileType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.index.DistanceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.index.IndexType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.merge.MergeInsertParams.WhenMatched
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.merge.MergeInsertParams.WhenNotMatched
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.merge.MergeInsertParams.WhenNotMatchedBySource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.operation.Update.UpdateMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.schema.StorageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.WriteParams.LanceFileVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lancedb.lance.WriteParams.WriteMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.lancedb.lance.fragment.DeletionFileType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.index.DistanceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.index.IndexType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.merge.MergeInsertParams.WhenMatched
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.merge.MergeInsertParams.WhenNotMatched
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.merge.MergeInsertParams.WhenNotMatchedBySource
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.operation.Update.UpdateMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.schema.StorageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.WriteParams.LanceFileVersion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.lancedb.lance.WriteParams.WriteMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VectorIndexParams - Class in com.lancedb.lance.index.vector
-
Parameters for creating a vector index.
- VectorIndexParams.Builder - Class in com.lancedb.lance.index.vector
-
- version() - Method in class com.lancedb.lance.Dataset
-
Get the currently checked out version id of the dataset
- version(long) - Method in class com.lancedb.lance.operation.Restore.Builder
-
- version() - Method in class com.lancedb.lance.operation.Restore
-
Get the version to restore to.
- Version - Class in com.lancedb.lance
-
- Version(long, ZonedDateTime, TreeMap<String, String>) - Constructor for class com.lancedb.lance.Version
-
- whenMatched() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenMatchedUpdateExpr() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenMatchedValue() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenNotMatched() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenNotMatchedBySource() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenNotMatchedBySourceDeleteExpr() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenNotMatchedBySourceDeleteSubstraitExpr() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenNotMatchedBySourceValue() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- whenNotMatchedValue() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
- withBatchSize(long) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withConflictRetries(int) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Set number of times to retry the operation if there is contention.
- withDataStorageVersion(WriteParams.LanceFileVersion) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withDeferIndexRemap(boolean) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withEnableStableRowIds(boolean) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withExpression(String, String) - Method in class com.lancedb.lance.schema.SqlExpressions.Builder
-
- withIvfHnswPqParams(DistanceType, IvfBuildParams, HnswBuildParams, PQBuildParams) - Static method in class com.lancedb.lance.index.vector.VectorIndexParams
-
Create a new IVF HNSW index with PQ quantizer.
- withIvfHnswSqParams(DistanceType, IvfBuildParams, HnswBuildParams, SQBuildParams) - Static method in class com.lancedb.lance.index.vector.VectorIndexParams
-
Create a new IVF HNSW index with SQ quantizer.
- withIvfPqParams(DistanceType, IvfBuildParams, PQBuildParams) - Static method in class com.lancedb.lance.index.vector.VectorIndexParams
-
Create a new IVF index with PQ quantizer.
- withMatchedDoNothing() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a row in the source table matches a row in the target table, the row in the
target table is kept unchanged.
- withMatchedFail() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a row in the source table matches a row in the target table, the entire merge
operation will fail with an error.
- withMatchedUpdateAll() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a row in the source table matches a row in the target table, the row is
deleted from the target table and the matched row based on the source table is inserted.
- withMatchedUpdateIf(String) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a row in the source table matches a row in the target table and the
expression evaluates to true, the row in the target table is updated by the matched row from
the source table.
- withMaterializeDeletions(boolean) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withMaterializeDeletionsThreshold(float) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withMaxBytesPerFile(long) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withMaxBytesPerFile(long) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withMaxRowsPerFile(int) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withMaxRowsPerGroup(long) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withMaxRowsPerGroup(int) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withMode(WriteParams.WriteMode) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withNotMatched(MergeInsertParams.WhenNotMatched) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify what should happen when a source row has no match in the target.
- withNotMatchedBySourceDelete() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a target row has no match in the source, the row is deleted from the target
table.
- withNotMatchedBySourceDeleteIf(String) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a target row has no match in the source and the expression evaluates to true,
the row is deleted from the target table.
- withNotMatchedBySourceDeleteSubstraitIf(ByteBuffer) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a target row has no match in the source and the expression evaluates to true,
the row is deleted from the target table.
- withNotMatchedBySourceKeep() - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Specify that when a target row has no match in the source, the row is kept in the target table.
- withNumThreads(long) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- withRetryTimeoutMs(long) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
Set the timeout in milliseconds used to limit retries.
- withRowAddr(boolean) - Method in class com.lancedb.lance.SqlQuery
-
- withRowAddress(boolean) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Set whether to include the row addr.
- withRowId(boolean) - Method in class com.lancedb.lance.ipc.ScanOptions.Builder
-
Set whether to include the row ID.
- withRowId(boolean) - Method in class com.lancedb.lance.SqlQuery
-
- withSkipAutoCleanup(boolean) - Method in class com.lancedb.lance.merge.MergeInsertParams
-
If true, skip auto cleanup during commits.
- withStorageOptions(Map<String, String>) - Method in class com.lancedb.lance.WriteParams.Builder
-
- withTargetRowsPerFragment(long) - Method in class com.lancedb.lance.compaction.CompactionOptions.Builder
-
- write(VectorSchemaRoot) - Method in class com.lancedb.lance.file.LanceFileWriter
-
Write a batch of data
- WriteLock() - Constructor for class com.lancedb.lance.LockManager.WriteLock
-
Constructs a new WriteLock and acquires the write lock.
- writeParams(Map<String, String>) - Method in class com.lancedb.lance.Transaction.Builder
-
- writeParams() - Method in class com.lancedb.lance.Transaction
-
- WriteParams - Class in com.lancedb.lance
-
Write Params for Write Operations of Lance.
- WriteParams.Builder - Class in com.lancedb.lance
-
A builder of WriteParams.
- WriteParams.LanceFileVersion - Enum in com.lancedb.lance
-
- WriteParams.WriteMode - Enum in com.lancedb.lance
-
Write Mode.