Struct ella_engine::Plan
source · pub struct Plan { /* private fields */ }Implementations§
source§impl Plan
impl Plan
pub fn definition(&self) -> Option<String>
pub fn with_definition(self, definition: String) -> Self
pub fn resolve(&self, state: &EllaState) -> Result<LogicalPlan>
pub fn stub(&self) -> &LogicalPlan
pub fn as_resolved(&self) -> Option<LogicalPlan>
pub fn from_bytes(bytes: &[u8]) -> Result<Self>
pub fn to_bytes(&self) -> Vec<u8>
pub fn from_plan(plan: LogicalPlan) -> Self
pub fn from_stub(stub: LogicalPlan) -> Self
pub fn arrow_schema(&self) -> SchemaRef
pub fn df_schema(&self) -> &Arc<DFSchema>
pub fn map<F>(self, f: F) -> Selfwhere F: FnOnce(LogicalPlan) -> LogicalPlan,
Trait Implementations§
source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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 PartialEq<Plan> for Plan
impl PartialEq<Plan> for Plan
impl Eq for Plan
impl StructuralEq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl !RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl !UnwindSafe for Plan
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.