pub struct EmptyExec {}
Expand description
Source ProofPlan
for (sub)queries without table source such as SELECT "No table here" as msg;
Inspired by DataFusion EmptyExec
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EmptyExec
impl<'de> Deserialize<'de> for EmptyExec
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<EmptyExec> for DynProofPlan
impl From<EmptyExec> for DynProofPlan
Source§fn from(v: EmptyExec) -> DynProofPlan
fn from(v: EmptyExec) -> DynProofPlan
Converts to this type from the input type.
Source§impl ProofPlan for EmptyExec
impl ProofPlan for EmptyExec
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<C: Commitment>(
&self,
_builder: &mut VerificationBuilder<'_, C>,
_accessor: &dyn CommitmentAccessor<C>,
_result: Option<&OwnedTable<C::Scalar>>,
) -> Result<Vec<C::Scalar>, ProofError>
fn verifier_evaluate<C: Commitment>( &self, _builder: &mut VerificationBuilder<'_, C>, _accessor: &dyn CommitmentAccessor<C>, _result: Option<&OwnedTable<C::Scalar>>, ) -> Result<Vec<C::Scalar>, ProofError>
Form components needed to verify and proof store into
VerificationBuilder
Source§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§fn is_empty(&self, accessor: &dyn MetadataAccessor) -> bool
fn is_empty(&self, accessor: &dyn MetadataAccessor) -> bool
Check if the input table is empty
Source§impl TryInto<EmptyExec> for DynProofPlan
impl TryInto<EmptyExec> for DynProofPlan
impl StructuralPartialEq for EmptyExec
Auto Trait Implementations§
impl Freeze for EmptyExec
impl RefUnwindSafe for EmptyExec
impl Send for EmptyExec
impl Sync for EmptyExec
impl Unpin for EmptyExec
impl UnwindSafe for EmptyExec
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