Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.3.0

tabsdatak.spi

check_plugin_param_typeValidate a plugin method's parameter type matches expected.
CommitStateFn
ConnAbstract base for every connection.
ConnMetaModelAbstract base for a connection kind (SQL, objects, storage, ...).
CsvParseOptionsHow the String values of a CSV source are typed.
DestContextContext handed to DestPlugin.write_out -- combines TransactionCtx with PluginCtx.
DestDefEntry-point registration for a Dest binding.
DestPluginPlugin implementing the write-side of a Dest subclass.
EntityAbstract base for an entity within a connection.
ExplorerOptional connector capability for ad-hoc inspection of a live Conn: catalog metadata and arbitrary query execution.
FilesSpec
FrameMetadataHow the frame of a LazyFrameInput is served to the function.
LayoutHow the columns of a LazyFrameInput frame hold its table.
LazyFrameInputOne table SrcPlugin.read_in produces for a publisher input: its data, as a polars LazyFrame, and the metadata that says how to serve it.
MetadataSpec
NdjsonParseOptionsHow the rows of an NDJSON source are split and typed.
ParseOptionsHow the String values of a SourceFormat are split and typed when served.
PluginCtxCommon context surface shared by every plugin variant (batch source, stream source, destination).
SourceFormatThe format the String values of a frame come from.
SrcDefEntry-point registration for a batch Src binding.
SrcPluginPlugin implementing the read-side of a Src subclass.
SrcPluginCtxContext handed to SrcPlugin.read_in -- combines TransactionCtx (trx identifiers + per-flow attributes) with PluginCtx (flow identifiers + work dir).
SrcTablesSpec
StageFileStatsOne table file StreamSrcPluginCtx.stage wrote to the stage.
StreamSrcDefEntry-point registration for a StreamSrc binding.
StreamSrcPluginPlugin implementing the long-running side of a StreamSrc subclass (CDC, log tail, queue tail).
StreamSrcPluginCtxContext handed to StreamSrcPlugin.run -- the plugin's long-lived control surface.
StreamStageSrcConfig type for the hidden batch source that ingests a stream's staged manifests.
StreamStageSrcPluginHidden batch-side (publisher) source that ingests a stream stage's manifests.
StreamStateSpec
TableFileInputOne parquet file SrcPlugin.read_in produces for an output slot, paired with optional metadata to carry alongside it.
TableFileSpec
TableModeHow the data a SrcPlugin lands for one publisher input is served to the function.
to_lazy_frame_inputsWrap per-input LazyFrame\ s as LazyFrameInput\ s with no metadata -- the shape SrcPlugin.read_in returns.
to_table_file_inputsWrap per-slot parquet paths as TableFileInput\ s with no metadata -- the shape SrcPlugin.read_in returns.

CommitStateFn

type_alias
CommitStateFn: Callable[[], None]

FilesSpec

type_alias
FilesSpec: list[TableFileSpec]

Resolved type:

list[Path]

MetadataSpec

type_alias
MetadataSpec: dict[str, _MetadataBasicType]

Resolved type:

dict[str, str | int | float | bool]

SrcTablesSpec

type_alias
SrcTablesSpec: Union[list[Iterable[LazyFrameInput]], list[list[TableFileInput]]]

Resolved type:

list[Iterable[LazyFrameInput]] | list[list[TableFileInput]]

StreamStateSpec

type_alias
StreamStateSpec: Union[BasicDictSpec, CommitStateFn]

Resolved type:

dict[str, str | int | float | bool] | Callable[[], None]

TableFileSpec

type_alias
TableFileSpec: Path