Struct smartnoise_runtime::proto::Digitize [−][src]
Digitize Component
Maps data to bins.
Bins will be of the form [lower, upper) or (lower, upper]. The null value is the final category.
This struct represents an abstract computation. Arguments are provided via the graph. Additional options are set via the fields on this struct. The return is the result of the digitize on the arguments.
Arguments
data
- Array - Data to be binned.edges
- Jagged - Values representing the edges of bins. Edges must be sorted, and may not contain duplicates.null_value
- Array - Value to which to map if there is no valid bin (e.g. if the element falls outside the bin range). The null value is the final category.inclusive_left
- Array - Whether or not the left edge of the bin is inclusive, i.e. the bins are of the form [lower, upper).
Returns
Value
- Array
Trait Implementations
impl Clone for Digitize
[src][+]
impl Component for Digitize
[src][+]
impl Debug for Digitize
[src][+]
impl Default for Digitize
[src][+]
impl Evaluable for Digitize
[src][+]
impl Expandable for Digitize
[src][+]
impl Message for Digitize
[src][+]
impl PartialEq<Digitize> for Digitize
[src][+]
impl StructuralPartialEq for Digitize
[src]
Auto Trait Implementations
impl RefUnwindSafe for Digitize
impl Send for Digitize
impl Sync for Digitize
impl Unpin for Digitize
impl UnwindSafe for Digitize
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Az for T
[src][+]
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> CheckedAs for T
[src][+]
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> OverflowingAs for T
[src][+]
impl<T> SaturatingAs for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> UnwrappedAs for T
[src][+]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,