pub struct FilteredReadOptionsProto {
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>>,
}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).
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.
Trait Implementations§
Source§impl Clone for FilteredReadOptionsProto
impl Clone for FilteredReadOptionsProto
Source§fn clone(&self) -> FilteredReadOptionsProto
fn clone(&self) -> FilteredReadOptionsProto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilteredReadOptionsProto
impl Debug for FilteredReadOptionsProto
Source§impl Default for FilteredReadOptionsProto
impl Default 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
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl Name for FilteredReadOptionsProto
impl Name for FilteredReadOptionsProto
Source§const NAME: &'static str = "FilteredReadOptionsProto"
const NAME: &'static str = "FilteredReadOptionsProto"
Simple name for this
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"
Package name this message type is contained in. They are domain-like
and delimited by
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Fully-qualified unique name for this
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 Eq 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§
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
Mutably borrows from an owned value. Read more
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
Compare self to
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<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>
Converts
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>
Converts
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