pub enum UrsaStatement {
DataFusion(Box<Statement>),
CreatePropertyGraph(Box<CreatePropertyGraph>),
DropPropertyGraph(DropPropertyGraph),
DescribeGraph(DescribeGraph),
ShowGraphs,
Attach(Attach),
}Expand description
One statement of Ursa SQL.
Variants§
DataFusion(Box<Statement>)
Anything DataFusion parses: queries, DDL, COPY … TO, SET, EXPLAIN.
CreatePropertyGraph(Box<CreatePropertyGraph>)
CREATE [OR REPLACE] PROPERTY GRAPH [IF NOT EXISTS] name … (SQL/PGQ).
DropPropertyGraph(DropPropertyGraph)
DROP PROPERTY GRAPH [IF EXISTS] name.
DescribeGraph(DescribeGraph)
DESCRIBE GRAPH name (or DESC GRAPH name).
ShowGraphs
SHOW GRAPHS.
Attach(Attach)
ATTACH [DATABASE] 'file.ursa' [AS name].
Implementations§
Trait Implementations§
Source§impl Clone for UrsaStatement
impl Clone for UrsaStatement
Source§impl Debug for UrsaStatement
impl Debug for UrsaStatement
Source§impl Display for UrsaStatement
impl Display for UrsaStatement
Source§impl PartialEq for UrsaStatement
impl PartialEq for UrsaStatement
impl StructuralPartialEq for UrsaStatement
Auto Trait Implementations§
impl Forget for UrsaStatement
impl Freeze for UrsaStatement
impl RefUnwindSafe for UrsaStatement
impl Send for UrsaStatement
impl Sync for UrsaStatement
impl Unpin for UrsaStatement
impl UnsafeUnpin for UrsaStatement
impl UnwindSafe for UrsaStatement
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
Mutably borrows from an owned value. Read more
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<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