pub struct FusedSeries {
promql: Arc<str>,
tree: NativeTree,
binding: FusedSeriesBinding,
children: Vec<LogicalPlan>,
output_schema: DFSchemaRef,
format: FusedOutputFormat,
canonical_producer: bool,
}Expand description
The logical plan of one node that runs a compiled native tree.
The node records the query the tree was compiled from, because that text names the value
columns it publishes, and it carries the binding the tree’s input was compiled against so the
execution plan can be built from it. EXPLAIN shows the compiled tree.
Fields§
§promql: Arc<str>The PromQL text this tree was compiled from, which names the value columns it publishes.
tree: NativeTreeThe compiled tree to run.
binding: FusedSeriesBindingWhat the tree’s input was compiled against.
children: Vec<LogicalPlan>Plans producing the inputs, in source-index order.
output_schema: DFSchemaRefThe columns this node produces.
format: FusedOutputFormatFixed output representation, chosen when the node is built.
canonical_producer: boolThe half of a canonical boundary this node is, if any.
A NativeExpr::Merge collects every fragment of one canonical label set, which a node that
runs per scan partition cannot promise in general - and it is why a tree holding one is
normally gathered into a single execution. A canonical boundary keeps the query’s width by
letting a producer merge what each partition holds and routing the pieces of one label set
across partitions; a consumer above it therefore reads whole label sets as ordinary frames.
That a node is the producer cannot be read off its tree - the merge is at its root - so it is
stated here by the caller that built the boundary.
Implementations§
Source§impl FusedSeries
impl FusedSeries
Sourcepub fn serialize(&self) -> DataFusionResult<Vec<u8>>
pub fn serialize(&self) -> DataFusionResult<Vec<u8>>
Serializes the native tree and the binding required to reconstruct this plan node. The PromQL text identifies expression-named output fields; children remain ordinary Substrait inputs.
This is only the node’s own encoding. Whether a planner is allowed to place this node on another machine is a separate decision, made by the planner and the transport, not here.
The envelope is FUSED_SERIES_ENVELOPE_VERSION, the payload’s length in bytes, then the
postcard payload itself.
Sourcepub fn deserialize(bytes: &[u8]) -> DataFusionResult<Self>
pub fn deserialize(bytes: &[u8]) -> DataFusionResult<Self>
Rebuilds a serialized FusedSeries node, validating its carried output schema against the execution contract. Substrait attaches children separately.
Sourcepub fn try_new(
promql: Arc<str>,
tree: NativeTree,
binding: FusedSeriesBinding,
children: Vec<LogicalPlan>,
output_schema: DFSchemaRef,
) -> DataFusionResult<Self>
pub fn try_new( promql: Arc<str>, tree: NativeTree, binding: FusedSeriesBinding, children: Vec<LogicalPlan>, output_schema: DFSchemaRef, ) -> DataFusionResult<Self>
Creates the node, checking that tree is legal against binding.
Sourcepub fn try_new_state_export(
promql: Arc<str>,
tree: NativeTree,
binding: FusedSeriesBinding,
children: Vec<LogicalPlan>,
) -> DataFusionResult<Self>
pub fn try_new_state_export( promql: Arc<str>, tree: NativeTree, binding: FusedSeriesBinding, children: Vec<LogicalPlan>, ) -> DataFusionResult<Self>
Creates the state-exporting half of a split aggregate.
The node runs a Partial tree and answers aggregate-state frames, so its output layout is
the one tree declares rather than a caller’s: the alternative is a caller free to declare a
state frame the tree does not produce, which try_new_with_format would then only catch for
some of its columns.
Sourcepub fn split_aggregate(
tree: &NativeTree,
time_index: &str,
) -> DataFusionResult<Option<(NativeTree, NativeTree)>>
pub fn split_aggregate( tree: &NativeTree, time_index: &str, ) -> DataFusionResult<Option<(NativeTree, NativeTree)>>
The two trees a native aggregate over tree is split into, if it can be split at all.
The first runs where the series are read and answers the state each partition folded; the
second runs where every partition’s state has arrived and answers the statement’s series.
time_index is the column the tree’s grid points are reported under.
Sourcepub fn series_frame_schema(tree: &NativeTree) -> DataFusionResult<SchemaRef>
pub fn series_frame_schema(tree: &NativeTree) -> DataFusionResult<SchemaRef>
The evaluated series-frame schema declared by a native tree’s root.
Sourcepub fn try_new_with_format(
promql: Arc<str>,
tree: NativeTree,
binding: FusedSeriesBinding,
children: Vec<LogicalPlan>,
output_schema: DFSchemaRef,
format: FusedOutputFormat,
) -> DataFusionResult<Self>
pub fn try_new_with_format( promql: Arc<str>, tree: NativeTree, binding: FusedSeriesBinding, children: Vec<LogicalPlan>, output_schema: DFSchemaRef, format: FusedOutputFormat, ) -> DataFusionResult<Self>
Creates a node with an explicitly selected output format.
Sourcepub fn try_new_canonical_producer(
promql: Arc<str>,
tree: NativeTree,
binding: FusedSeriesBinding,
children: Vec<LogicalPlan>,
) -> DataFusionResult<Self>
pub fn try_new_canonical_producer( promql: Arc<str>, tree: NativeTree, binding: FusedSeriesBinding, children: Vec<LogicalPlan>, ) -> DataFusionResult<Self>
Creates a producer whose terminal canonical merge is answered per input partition.
The tree’s root has to be a NativeExpr::Merge, because that is the node this flag changes
the meaning of: instead of collecting every piece of a label set in one execution, the node
collects the pieces its own partition holds and exports one series per label set as a series
frame. What that leaves undone - the pieces of one label set that landed in other partitions -
is the canonical router’s work above this node, and the caller that builds it is the one that
knows the pieces are split that way.
output_schema is the frame the evaluated root declares; it is derived here rather than
taken from the caller so the two cannot disagree.
Sourcepub fn canonical_producer_prefix_is_local(&self) -> bool
pub fn canonical_producer_prefix_is_local(&self) -> bool
Whether a canonical producer’s input prefix is safe to run at its local execution width.
Sourcepub fn is_canonical_producer(&self) -> bool
pub fn is_canonical_producer(&self) -> bool
Whether this node is the partition-local producer of a canonical boundary.
Sourcepub fn promql(&self) -> &str
pub fn promql(&self) -> &str
The PromQL text this node was compiled from, which names the value columns it publishes.
Sourcepub fn format(&self) -> FusedOutputFormat
pub fn format(&self) -> FusedOutputFormat
The selected output representation.
Sourcepub fn reads_aggregate_state(&self) -> bool
pub fn reads_aggregate_state(&self) -> bool
Whether this node’s tree reads its input as aggregate state rather than as series.
A state root is the Final half of a split aggregate, which reads what the Partial half
exported. The kind is the tree’s own: its inputs’ bindings decide what each child must
produce, so a caller that needs to recognize the second half of a split does not have to
read the first one’s labels.
Sourcepub fn tree(&self) -> &NativeTree
pub fn tree(&self) -> &NativeTree
The compiled tree this node runs.
Sourcepub fn binding(&self) -> &FusedSeriesBinding
pub fn binding(&self) -> &FusedSeriesBinding
What the tree’s input was compiled against.
Sourcepub fn to_execution_plan(
&self,
inputs: Vec<(Arc<dyn ExecutionPlan>, RawLabelSource, SeriesOrdering)>,
) -> DataFusionResult<Arc<dyn ExecutionPlan>>
pub fn to_execution_plan( &self, inputs: Vec<(Arc<dyn ExecutionPlan>, RawLabelSource, SeriesOrdering)>, ) -> DataFusionResult<Arc<dyn ExecutionPlan>>
The physical node that runs raw frame sources as this node’s inputs.
Each tuple binds a frame producer to its label source and ordering. Building the node rejects incompatible frames or an output schema the conversion cannot classify.
Sourcepub fn to_execution_plan_with_parallelism(
&self,
inputs: Vec<(Arc<dyn ExecutionPlan>, RawLabelSource, SeriesOrdering)>,
target_partitions: usize,
) -> DataFusionResult<Arc<dyn ExecutionPlan>>
pub fn to_execution_plan_with_parallelism( &self, inputs: Vec<(Arc<dyn ExecutionPlan>, RawLabelSource, SeriesOrdering)>, target_partitions: usize, ) -> DataFusionResult<Arc<dyn ExecutionPlan>>
Builds the physical plan using an explicit target width for matching-local work.
fn to_execution_plan_with_parallelism_option( &self, inputs: Vec<(Arc<dyn ExecutionPlan>, RawLabelSource, SeriesOrdering)>, target_partitions: Option<usize>, ) -> DataFusionResult<Arc<dyn ExecutionPlan>>
Sourcefn with_canonical_router(
&self,
exec: Arc<dyn ExecutionPlan>,
) -> DataFusionResult<Arc<dyn ExecutionPlan>>
fn with_canonical_router( &self, exec: Arc<dyn ExecutionPlan>, ) -> DataFusionResult<Arc<dyn ExecutionPlan>>
Routes a canonical producer’s frames by label set: the canonical collection step above it.
The producer cannot do this itself.
The producer answers one series per label set per partition: it merged what it found there. The pieces of one set that landed in other partitions are still apart, and every consumer above this boundary reads whole label sets, so they are collected here - by canonical label set, not by matching key, and by the conservative completion contract, because a producer can only promise one series per set per partition and not that each set lives in one partition.
This router is the boundary’s middle stage and nothing else: a query whose tree holds no canonical merge never reaches this code, and a merge that is not a boundary stays where it is.
Sourcefn execution_locality(&self) -> InputLocality
fn execution_locality(&self) -> InputLocality
The locality this node’s physical execution runs at.
Normally that is the tree’s own classification: a tree that reads across series answers one partition and gathers what it reads. A partition-local canonical merge is the one deliberate exception, and it is a fact about this node’s contract rather than about the tree, so it is read here and not inferred from the root: the caller that built the node knows its inputs are whole per partition, and the merge it ends with collects only that partition’s fragments. Treating every merge as partition-local would instead let a merge that needs every piece run where it cannot see them.
The label columns of the output, independent of the raw-input binding.
A scalar root has no labels; its one other column is the value. The planner decides them
from the whole tree - a match narrows them, or joins both sides’ and a wrapper around
either keeps them - and the output schema is where it records that.
Trait Implementations§
Source§impl Debug for FusedSeries
impl Debug for FusedSeries
impl Eq for FusedSeries
Source§impl Hash for FusedSeries
impl Hash for FusedSeries
Source§impl PartialEq for FusedSeries
impl PartialEq for FusedSeries
Source§impl PartialOrd for FusedSeries
impl PartialOrd for FusedSeries
Source§impl UserDefinedLogicalNodeCore for FusedSeries
impl UserDefinedLogicalNodeCore for FusedSeries
Source§fn expressions(&self) -> Vec<Expr>
fn expressions(&self) -> Vec<Expr>
Source§fn fmt_for_explain(&self, f: &mut Formatter<'_>) -> Result
fn fmt_for_explain(&self, f: &mut Formatter<'_>) -> Result
f for use in explain plan. Read moreSource§fn with_exprs_and_inputs(
&self,
_exprs: Vec<Expr>,
inputs: Vec<LogicalPlan>,
) -> DataFusionResult<Self>
fn with_exprs_and_inputs( &self, _exprs: Vec<Expr>, inputs: Vec<LogicalPlan>, ) -> DataFusionResult<Self>
UserDefinedLogicalNode with the specified children
and expressions. This function is used during optimization
when the plan is being rewritten and a new instance of the
UserDefinedLogicalNode must be created. Read more§fn check_invariants(
&self,
_check: InvariantLevel,
) -> Result<(), DataFusionError>
fn check_invariants( &self, _check: InvariantLevel, ) -> Result<(), DataFusionError>
§fn prevent_predicate_push_down_columns(&self) -> HashSet<String>
fn prevent_predicate_push_down_columns(&self) -> HashSet<String>
§fn necessary_children_exprs(
&self,
_output_columns: &[usize],
) -> Option<Vec<Vec<usize>>>
fn necessary_children_exprs( &self, _output_columns: &[usize], ) -> Option<Vec<Vec<usize>>>
§fn supports_limit_pushdown(&self) -> bool
fn supports_limit_pushdown(&self) -> bool
true if a limit can be safely pushed down through this
UserDefinedLogicalNode node. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FusedSeries
impl !UnwindSafe for FusedSeries
impl Freeze for FusedSeries
impl Send for FusedSeries
impl Sync for FusedSeries
impl Unpin for FusedSeries
impl UnsafeUnpin for FusedSeries
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CallHasher for T
impl<T> CallHasher for T
§impl<T> Conv for T
impl<T> Conv for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].impl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSend for Twhere
T: Send,
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn propagate_header(self, header: HeaderName) -> PropagateHeader<Self>where
Self: Sized,
fn propagate_header(self, header: HeaderName) -> PropagateHeader<Self>where
Self: Sized,
§fn add_extension<T>(self, value: T) -> AddExtension<Self, T>where
Self: Sized,
fn add_extension<T>(self, value: T) -> AddExtension<Self, T>where
Self: Sized,
§fn map_request_body<F>(self, f: F) -> MapRequestBody<Self, F>where
Self: Sized,
fn map_request_body<F>(self, f: F) -> MapRequestBody<Self, F>where
Self: Sized,
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
§fn compression(self) -> Compression<Self>where
Self: Sized,
fn compression(self) -> Compression<Self>where
Self: Sized,
§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn sensitive_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<SetSensitiveResponseHeaders<Self>>where
Self: Sized,
fn sensitive_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<SetSensitiveResponseHeaders<Self>>where
Self: Sized,
§fn sensitive_request_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<Self>where
Self: Sized,
fn sensitive_request_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<Self>where
Self: Sized,
§fn sensitive_response_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveResponseHeaders<Self>where
Self: Sized,
fn sensitive_response_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveResponseHeaders<Self>where
Self: Sized,
§fn override_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn override_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
§fn append_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn append_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
§fn insert_request_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn insert_request_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
§fn override_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn override_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
§fn append_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn append_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
§fn insert_response_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn insert_response_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
x-request-id as the header name. Read more§fn catch_panic(self) -> CatchPanic<Self, DefaultResponseForPanic>where
Self: Sized,
fn catch_panic(self) -> CatchPanic<Self, DefaultResponseForPanic>where
Self: Sized,
500 Internal Server responses. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
413 Payload Too Large responses. Read more§fn trim_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
fn trim_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
§fn append_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
fn append_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T> UserDefinedLogicalNode for Twhere
T: UserDefinedLogicalNodeCore,
impl<T> UserDefinedLogicalNode for Twhere
T: UserDefinedLogicalNodeCore,
§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
§fn check_invariants(&self, check: InvariantLevel) -> Result<(), DataFusionError>
fn check_invariants(&self, check: InvariantLevel) -> Result<(), DataFusionError>
§fn expressions(&self) -> Vec<Expr>
fn expressions(&self) -> Vec<Expr>
§fn prevent_predicate_push_down_columns(&self) -> HashSet<String>
fn prevent_predicate_push_down_columns(&self) -> HashSet<String>
§fn fmt_for_explain(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn fmt_for_explain(&self, f: &mut Formatter<'_>) -> Result<(), Error>
f for use in explain plan. Read more§fn with_exprs_and_inputs(
&self,
exprs: Vec<Expr>,
inputs: Vec<LogicalPlan>,
) -> Result<Arc<dyn UserDefinedLogicalNode>, DataFusionError>
fn with_exprs_and_inputs( &self, exprs: Vec<Expr>, inputs: Vec<LogicalPlan>, ) -> Result<Arc<dyn UserDefinedLogicalNode>, DataFusionError>
UserDefinedLogicalNode with the specified children
and expressions. This function is used during optimization
when the plan is being rewritten and a new instance of the
UserDefinedLogicalNode must be created. Read more§fn necessary_children_exprs(
&self,
output_columns: &[usize],
) -> Option<Vec<Vec<usize>>>
fn necessary_children_exprs( &self, output_columns: &[usize], ) -> Option<Vec<Vec<usize>>>
§fn dyn_ord(&self, other: &dyn UserDefinedLogicalNode) -> Option<Ordering>
fn dyn_ord(&self, other: &dyn UserDefinedLogicalNode) -> Option<Ordering>
other, respecting requirements from PartialOrd.
Must return Some(Equal) if and only if self.dyn_eq(other).§fn supports_limit_pushdown(&self) -> bool
fn supports_limit_pushdown(&self) -> bool
true if a limit can be safely pushed down through this
UserDefinedLogicalNode node. Read more