mirror of
https://github.com/lancedb/lancedb.git
synced 2026-09-04 20:48:50 +00:00
e3b472c212
Adds job operations to the connection surface, building on the Job handle from #3742: job(id), list_jobs, get_job, cancel_job, and job_history, plus a non-blocking Job.status(). Implemented on the Database trait (defaulting to NotSupported), the remote backend (/v1/jobs), and the Python and Node bindings; job_history returns Arrow batches. errors() and progress() are not included. Tested with mocked endpoints in all three languages. --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
59 lines
683 B
Markdown
59 lines
683 B
Markdown
[**@lancedb/lancedb**](../README.md) • **Docs**
|
|
|
|
***
|
|
|
|
[@lancedb/lancedb](../globals.md) / JobInfo
|
|
|
|
# Interface: JobInfo
|
|
|
|
A row from `Connection.listJobs`: one server-side job.
|
|
|
|
## Properties
|
|
|
|
### createdAtMillis
|
|
|
|
```ts
|
|
createdAtMillis: number;
|
|
```
|
|
|
|
When the job was created, in milliseconds since the epoch.
|
|
|
|
***
|
|
|
|
### jobId
|
|
|
|
```ts
|
|
jobId: string;
|
|
```
|
|
|
|
The job id -- what `Connection.getJob` and `Connection.cancelJob`
|
|
accept.
|
|
|
|
***
|
|
|
|
### jobType
|
|
|
|
```ts
|
|
jobType: string;
|
|
```
|
|
|
|
***
|
|
|
|
### state
|
|
|
|
```ts
|
|
state: string;
|
|
```
|
|
|
|
Lifecycle state: "running", "finished", "failed", or "cancelled".
|
|
|
|
***
|
|
|
|
### table
|
|
|
|
```ts
|
|
table: string;
|
|
```
|
|
|
|
The table the job runs against, without URI or namespace.
|