Skip to main content

Module request

Module request 

Source
Expand description

Worker requests.

StructsΒ§

BuildIndexRequest πŸ”’
BulkColumn πŸ”’
A column of the batch of a bulk insert.
BulkInsertRequest πŸ”’
CompactionFailed πŸ”’
A failing compaction result.
CompactionFinished πŸ”’
Notifies a compaction job has finished.
CopyRegionFromFinished πŸ”’
CopyRegionFromRequest πŸ”’
DiscardUnflushedResult πŸ”’
Notifies the result of discarding unflushed data from a region.
EnterStagingResult πŸ”’
Notifies the region the result of entering staging.
FlushFailed πŸ”’
Notifies a flush job is failed.
FlushFinished πŸ”’
Notifies a flush job is finished.
IndexBuildFailed πŸ”’
Notifies an index build job has failed.
IndexBuildFinished πŸ”’
IndexBuildStopped πŸ”’
Notifies an index build job has been stopped.
OptionOutputTx πŸ”’
Optional output result sender.
OutputTx
Oneshot output result sender.
RegionChangeResult πŸ”’
Notifies the region the result of writing region change action.
RegionEditRequest πŸ”’
Request to edit a region directly.
RegionEditResult πŸ”’
Notifies the regin the result of editing region.
RegionSyncRequest πŸ”’
RemapManifestsRequest πŸ”’
RowColumn πŸ”’
A column of the rows of a WriteRequest.
SenderBulkRequest πŸ”’
SenderDdlRequest πŸ”’
Sender and Ddl request.
SenderWriteRequest πŸ”’
Sender and write request.
TruncateResult πŸ”’
Notifies the truncate result of a region.
Waiters πŸ”’
WorkerRequestWithTime πŸ”’
Request sent to a worker with timestamp
WriteRequest
Request to write a region.

EnumsΒ§

BackgroundNotify πŸ”’
Notification from a background job.
CompactionUnitNotification πŸ”’
A local unit event carries only identity, never an input reservation lease.
DdlRequest πŸ”’
DDL request to a region.
WorkerRequest πŸ”’
Request sent to a worker

TraitsΒ§

OnFailure πŸ”’
Callback on failure.
RequestColumn πŸ”’
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 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_missing checks the region columns that the request doesn’t have. Returns whether there are such columns.
validate_proto_value πŸ”’
Validate proto value schema.