pub struct TableExec {
    pub table_ref: TableRef,
    pub schema: Vec<ColumnField>,
}Expand description
Source ProofPlan for (sub)queries with table source such as SELECT col from tab;
Inspired by DataFusion data source [ExecutionPlan]s such as [ArrowExec] and [CsvExec].
Note that we only need to load the columns we use.
Fields§
§table_ref: TableRefTable reference
schema: Vec<ColumnField>Schema of the table
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TableExec
 
impl<'de> Deserialize<'de> for TableExec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TableExec> for DynProofPlan
 
impl From<TableExec> for DynProofPlan
Source§fn from(v: TableExec) -> DynProofPlan
 
fn from(v: TableExec) -> DynProofPlan
Converts to this type from the input type.
Source§impl ProofPlan for TableExec
 
impl ProofPlan for TableExec
Source§fn count(&self, _builder: &mut CountBuilder<'_>) -> Result<(), ProofError>
 
fn count(&self, _builder: &mut CountBuilder<'_>) -> Result<(), ProofError>
Count terms used within the Query’s proof
Source§fn verifier_evaluate<S: Scalar>(
    &self,
    builder: &mut VerificationBuilder<'_, S>,
    accessor: &IndexMap<ColumnRef, S, BuildHasherDefault<AHasher>>,
    _result: Option<&OwnedTable<S>>,
) -> Result<Vec<S>, ProofError>
 
fn verifier_evaluate<S: Scalar>( &self, builder: &mut VerificationBuilder<'_, S>, accessor: &IndexMap<ColumnRef, S, BuildHasherDefault<AHasher>>, _result: Option<&OwnedTable<S>>, ) -> Result<Vec<S>, ProofError>
Form components needed to verify and proof store into 
VerificationBuilderSource§fn get_column_result_fields(&self) -> Vec<ColumnField>
 
fn get_column_result_fields(&self) -> Vec<ColumnField>
Return all the result column fields
Source§fn get_column_references(
    &self,
) -> IndexSet<ColumnRef, BuildHasherDefault<AHasher>>
 
fn get_column_references( &self, ) -> IndexSet<ColumnRef, BuildHasherDefault<AHasher>>
Return all the columns referenced in the Query
Source§fn get_table_references(
    &self,
) -> IndexSet<TableRef, BuildHasherDefault<AHasher>>
 
fn get_table_references( &self, ) -> IndexSet<TableRef, BuildHasherDefault<AHasher>>
Return all the tables referenced in the Query
Source§impl TryInto<TableExec> for DynProofPlan
 
impl TryInto<TableExec> for DynProofPlan
impl StructuralPartialEq for TableExec
Auto Trait Implementations§
impl Freeze for TableExec
impl RefUnwindSafe for TableExec
impl Send for TableExec
impl Sync for TableExec
impl Unpin for TableExec
impl UnwindSafe for TableExec
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> 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