Expand description
Worker requests.
StructsΒ§
- Build
Index πRequest - Bulk
Column π - A column of the batch of a bulk insert.
- Bulk
Insert πRequest - Compaction
Failed π - A failing compaction result.
- Compaction
Finished π - Notifies a compaction job has finished.
- Copy
Region πFrom Finished - Copy
Region πFrom Request - Discard
Unflushed πResult - Notifies the result of discarding unflushed data from a region.
- Enter
Staging πResult - Notifies the region the result of entering staging.
- Flush
Failed π - Notifies a flush job is failed.
- Flush
Finished π - Notifies a flush job is finished.
- Index
Build πFinished - Index
Build πStopped - Notifies an index build job has been stopped.
- Option
Output πTx - Optional output result sender.
- Output
Tx - Oneshot output result sender.
- Region
Change πResult - Notifies the region the result of writing region change action.
- Region
Edit πRequest - Request to edit a region directly.
- Region
Edit πResult - Notifies the regin the result of editing region.
- Region
Sync πRequest - Remap
Manifests πRequest - RowColumn π
- A column of the rows of a WriteRequest.
- Sender
Bulk πRequest - Sender
DdlRequest π - Sender and Ddl request.
- Sender
Write πRequest - Sender and write request.
- Truncate
Result π - Notifies the truncate result of a region.
- Waiters π
- Worker
Request πWith Time - Request sent to a worker with timestamp
- Write
Request - Request to write a region.
EnumsΒ§
- Background
Notify π - Notification from a background job.
- Compaction
Unit πNotification - A local unit event carries only identity, never an input reservation lease.
- DdlRequest π
- DDL request to a region.
- Worker
Request π - Request sent to a worker
TraitsΒ§
- OnFailure π
- Callback on failure.
- Request
Column π - A column of a write request, as check_request_columns sees it.
FunctionsΒ§
- check_
bulk_ insert_ batch - Checks the batch of a bulk insert against the region schema with the rules WriteRequest::check_schema applies to rows: column names are unique, every column is a column of the region with its Arrow type and contains nulls only if the region column is nullable, and a missing column is nullable or has a default value. Tags may use any string encoding. Sparse batches may carry the tags in one encoded primary key column instead. Returns whether the batch misses columns that the writer fills.
- check_
column_ πcan_ be_ filled - Checks that a write may leave out
column, which is then filled with its default value or null. - check_
request_ πcolumns - Checks the columns of a write request against the region schema. Each column
must be a column of the region, have its data type and, if the request carries
one, its semantic type, and contain nulls only if the region column is
nullable.
check_missingchecks the region columns that the request doesnβt have. Returns whether there are such columns. - validate_
proto_ πvalue - Validate proto value schema.