pub struct FilteredReadOptionsProto {Show 14 fields
pub scan_range_before_filter: Option<U64Range>,
pub scan_range_after_filter: Option<U64Range>,
pub with_deleted_rows: bool,
pub batch_size: Option<u32>,
pub fragment_readahead: Option<u64>,
pub fragment_ids: Vec<u64>,
pub projection: Option<ProjectionProto>,
pub refine_filter_substrait: Option<Vec<u8>>,
pub full_filter_substrait: Option<Vec<u8>>,
pub threading_mode: Option<FilteredReadThreadingModeProto>,
pub io_buffer_size_bytes: Option<u64>,
pub filter_schema_ipc: Option<Vec<u8>>,
pub materialization_readahead_bytes: Option<u64>,
pub batch_size_bytes: Option<u64>,
}Expand description
Serializable form of FilteredReadOptions.
Fields§
§scan_range_before_filter: Option<U64Range>§scan_range_after_filter: Option<U64Range>§with_deleted_rows: bool§batch_size: Option<u32>§fragment_readahead: Option<u64>§fragment_ids: Vec<u64>§projection: Option<ProjectionProto>§refine_filter_substrait: Option<Vec<u8>>§full_filter_substrait: Option<Vec<u8>>§threading_mode: Option<FilteredReadThreadingModeProto>§io_buffer_size_bytes: Option<u64>§filter_schema_ipc: Option<Vec<u8>>Arrow IPC schema for decoding Substrait filters (may be wider than projection).
materialization_readahead_bytes: Option<u64>If present, a nonzero upper bound on bytes reserved by Blob v2 materialization awaiting ordered emission in one scanner execution. Admission follows output order; one oversized output batch may exceed the bound when no other batch is reserved. If absent, Blob v2 materialization has no independent memory bound.
batch_size_bytes: Option<u64>If present, the scanner-level byte budget for output batches. When set, the file reader uses it as an additional batch boundary alongside the row-based batch_size. This corresponds to FileReaderOptions.batch_size_bytes.
Implementations§
Source§impl FilteredReadOptionsProto
impl FilteredReadOptionsProto
Sourcepub fn batch_size(&self) -> u32
pub fn batch_size(&self) -> u32
Returns the value of batch_size, or the default value if batch_size is unset.
Sourcepub fn fragment_readahead(&self) -> u64
pub fn fragment_readahead(&self) -> u64
Returns the value of fragment_readahead, or the default value if fragment_readahead is unset.
Sourcepub fn refine_filter_substrait(&self) -> &[u8] ⓘ
pub fn refine_filter_substrait(&self) -> &[u8] ⓘ
Returns the value of refine_filter_substrait, or the default value if refine_filter_substrait is unset.
Sourcepub fn full_filter_substrait(&self) -> &[u8] ⓘ
pub fn full_filter_substrait(&self) -> &[u8] ⓘ
Returns the value of full_filter_substrait, or the default value if full_filter_substrait is unset.
Sourcepub fn io_buffer_size_bytes(&self) -> u64
pub fn io_buffer_size_bytes(&self) -> u64
Returns the value of io_buffer_size_bytes, or the default value if io_buffer_size_bytes is unset.
Sourcepub fn filter_schema_ipc(&self) -> &[u8] ⓘ
pub fn filter_schema_ipc(&self) -> &[u8] ⓘ
Returns the value of filter_schema_ipc, or the default value if filter_schema_ipc is unset.
Sourcepub fn materialization_readahead_bytes(&self) -> u64
pub fn materialization_readahead_bytes(&self) -> u64
Returns the value of materialization_readahead_bytes, or the default value if materialization_readahead_bytes is unset.
Sourcepub fn batch_size_bytes(&self) -> u64
pub fn batch_size_bytes(&self) -> u64
Returns the value of batch_size_bytes, or the default value if batch_size_bytes is unset.
Trait Implementations§
Source§impl Clone for FilteredReadOptionsProto
impl Clone for FilteredReadOptionsProto
Source§fn clone(&self) -> FilteredReadOptionsProto
fn clone(&self) -> FilteredReadOptionsProto
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FilteredReadOptionsProto
impl Debug for FilteredReadOptionsProto
Source§impl Default for FilteredReadOptionsProto
impl Default for FilteredReadOptionsProto
impl Eq for FilteredReadOptionsProto
Source§impl Hash for FilteredReadOptionsProto
impl Hash for FilteredReadOptionsProto
Source§impl Message for FilteredReadOptionsProto
impl Message for FilteredReadOptionsProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for FilteredReadOptionsProto
impl Name for FilteredReadOptionsProto
Source§const NAME: &'static str = "FilteredReadOptionsProto"
const NAME: &'static str = "FilteredReadOptionsProto"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "lance.datafusion"
const PACKAGE: &'static str = "lance.datafusion"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for FilteredReadOptionsProto
impl PartialEq for FilteredReadOptionsProto
impl StructuralPartialEq for FilteredReadOptionsProto
Auto Trait Implementations§
impl Freeze for FilteredReadOptionsProto
impl RefUnwindSafe for FilteredReadOptionsProto
impl Send for FilteredReadOptionsProto
impl Sync for FilteredReadOptionsProto
impl Unpin for FilteredReadOptionsProto
impl UnsafeUnpin for FilteredReadOptionsProto
impl UnwindSafe for FilteredReadOptionsProto
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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