Handles, buffers, and Arrow structures

group Handles and shared buffers

Opaque handles, shared buffers, and Arrow C ABI structures.

Defines

ARROW_C_DATA_INTERFACE
ARROW_FLAG_DICTIONARY_ORDERED
ARROW_FLAG_NULLABLE
ARROW_FLAG_MAP_KEYS_SORTED
ARROW_STATISTICS_KEY_AVERAGE_BYTE_WIDTH_EXACT
ARROW_STATISTICS_KEY_AVERAGE_BYTE_WIDTH_APPROXIMATE
ARROW_STATISTICS_KEY_DISTINCT_COUNT_EXACT
ARROW_STATISTICS_KEY_DISTINCT_COUNT_APPROXIMATE
ARROW_STATISTICS_KEY_MAX_BYTE_WIDTH_EXACT
ARROW_STATISTICS_KEY_MAX_BYTE_WIDTH_APPROXIMATE
ARROW_STATISTICS_KEY_MAX_VALUE_EXACT
ARROW_STATISTICS_KEY_MAX_VALUE_APPROXIMATE
ARROW_STATISTICS_KEY_MIN_VALUE_EXACT
ARROW_STATISTICS_KEY_MIN_VALUE_APPROXIMATE
ARROW_STATISTICS_KEY_NULL_COUNT_EXACT
ARROW_STATISTICS_KEY_NULL_COUNT_APPROXIMATE
ARROW_STATISTICS_KEY_ROW_COUNT_EXACT
ARROW_STATISTICS_KEY_ROW_COUNT_APPROXIMATE
ARROW_C_STREAM_INTERFACE

Typedefs

typedef struct LanceDBConnectBuilder LanceDBConnectBuilder

Opaque handle to a LanceDB ConnectBuilder.

typedef struct LanceDBConnectNamespaceBuilder LanceDBConnectNamespaceBuilder

Opaque handle to a LanceDB ConnectNamespaceBuilder.

typedef struct LanceDBConnection LanceDBConnection

Opaque handle to a LanceDB Connection.

typedef struct LanceDBTable LanceDBTable

Opaque handle to a LanceDB Table.

typedef struct LanceDBTableNamesBuilder LanceDBTableNamesBuilder

Opaque handle to a LanceDB TableNamesBuilder.

typedef struct LanceDBExpr LanceDBExpr

Opaque handle to a DataFusion Expr (for building filter expressions).

typedef struct LanceDBFtsQuery LanceDBFtsQuery

Opaque handle to a structured full-text query.

Create with lancedb_fts_query_new_match(), lancedb_fts_query_new_multi_match(), lancedb_fts_query_new_phrase(), lancedb_fts_query_new_boolean() or lancedb_fts_query_new_boost() and free with lancedb_fts_query_free(). Builders clone the handle’s query when it is set, so one handle can be attached to several builders and freed immediately after the setters return.

typedef struct LanceDBQuery LanceDBQuery

Opaque handle to a LanceDB Query.

typedef struct LanceDBVectorQuery LanceDBVectorQuery

Opaque handle to a LanceDB VectorQuery.

typedef struct LanceDBQueryResult LanceDBQueryResult

Opaque handle to a LanceDB QueryResult.

typedef struct LanceDBTakeQuery LanceDBTakeQuery

Opaque handle to a LanceDB TakeQuery.

typedef struct LanceDBTableDelta LanceDBTableDelta

Opaque handle to a LanceDB TableDelta.

typedef struct LanceDBBlobFile LanceDBBlobFile

Opaque seekable handle to one lazy blob file.

typedef struct LanceDBSession LanceDBSession

Opaque handle to a LanceDB Session.

typedef struct LanceDBObjectStoreRegistry LanceDBObjectStoreRegistry

Opaque handle to a LanceDB ObjectStoreRegistry.

typedef struct LanceDBObjectStoreRegistry LanceDBRegistry
typedef struct LanceDBObjectStoreProvider LanceDBObjectStoreProvider

Opaque handle to a LanceDB ObjectStoreProvider.

typedef struct LanceDBRecordBatchReader LanceDBRecordBatchReader

Opaque handle to Arrow RecordBatchReader.

typedef struct FFI_ArrowSchema FFI_ArrowSchema

Arrow C ABI Schema structure (opaque).

typedef struct FFI_ArrowArray FFI_ArrowArray

Arrow C ABI Array structure (opaque).

struct ArrowSchema
#include <lancedb.h>
struct ArrowArray
#include <lancedb.h>
struct ArrowArrayStream
#include <lancedb.h>
struct LanceDBIpcBuffer
#include <lancedb.h>

Bytes of an Arrow IPC file owned by LanceDB.

A buffer that holds no file has both fields zeroed. data stays valid until lancedb_ipc_buffer_free() is called. The caller must not write to or free it, and keeps both fields unchanged until then.