Enum gluesql::core::ast_builder::QueryNode
source · pub enum QueryNode<'a> {
Show 15 variants
Text(String),
Values(Vec<ExprList<'a>>),
SelectNode(SelectNode<'a>),
ValuesNode(ValuesNode<'a>),
JoinNode(JoinNode<'a>),
JoinConstraintNode(JoinConstraintNode<'a>),
HashJoinNode(HashJoinNode<'a>),
GroupByNode(GroupByNode<'a>),
HavingNode(HavingNode<'a>),
LimitNode(LimitNode<'a>),
OffsetNode(OffsetNode<'a>),
OffsetLimitNode(OffsetLimitNode<'a>),
FilterNode(FilterNode<'a>),
ProjectNode(ProjectNode<'a>),
OrderByNode(OrderByNode<'a>),
}
Variants§
Text(String)
Values(Vec<ExprList<'a>>)
SelectNode(SelectNode<'a>)
ValuesNode(ValuesNode<'a>)
JoinNode(JoinNode<'a>)
JoinConstraintNode(JoinConstraintNode<'a>)
HashJoinNode(HashJoinNode<'a>)
GroupByNode(GroupByNode<'a>)
HavingNode(HavingNode<'a>)
LimitNode(LimitNode<'a>)
OffsetNode(OffsetNode<'a>)
OffsetLimitNode(OffsetLimitNode<'a>)
FilterNode(FilterNode<'a>)
ProjectNode(ProjectNode<'a>)
OrderByNode(OrderByNode<'a>)
Implementations§
Trait Implementations§
source§impl<'a> From<FilterNode<'a>> for QueryNode<'a>
impl<'a> From<FilterNode<'a>> for QueryNode<'a>
source§fn from(node: FilterNode<'a>) -> QueryNode<'a>
fn from(node: FilterNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<GroupByNode<'a>> for QueryNode<'a>
impl<'a> From<GroupByNode<'a>> for QueryNode<'a>
source§fn from(node: GroupByNode<'a>) -> QueryNode<'a>
fn from(node: GroupByNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<HashJoinNode<'a>> for QueryNode<'a>
impl<'a> From<HashJoinNode<'a>> for QueryNode<'a>
source§fn from(node: HashJoinNode<'a>) -> QueryNode<'a>
fn from(node: HashJoinNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<HavingNode<'a>> for QueryNode<'a>
impl<'a> From<HavingNode<'a>> for QueryNode<'a>
source§fn from(node: HavingNode<'a>) -> QueryNode<'a>
fn from(node: HavingNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<JoinConstraintNode<'a>> for QueryNode<'a>
impl<'a> From<JoinConstraintNode<'a>> for QueryNode<'a>
source§fn from(node: JoinConstraintNode<'a>) -> QueryNode<'a>
fn from(node: JoinConstraintNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<OffsetLimitNode<'a>> for QueryNode<'a>
impl<'a> From<OffsetLimitNode<'a>> for QueryNode<'a>
source§fn from(node: OffsetLimitNode<'a>) -> QueryNode<'a>
fn from(node: OffsetLimitNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<OffsetNode<'a>> for QueryNode<'a>
impl<'a> From<OffsetNode<'a>> for QueryNode<'a>
source§fn from(node: OffsetNode<'a>) -> QueryNode<'a>
fn from(node: OffsetNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<OrderByNode<'a>> for QueryNode<'a>
impl<'a> From<OrderByNode<'a>> for QueryNode<'a>
source§fn from(node: OrderByNode<'a>) -> QueryNode<'a>
fn from(node: OrderByNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<ProjectNode<'a>> for QueryNode<'a>
impl<'a> From<ProjectNode<'a>> for QueryNode<'a>
source§fn from(node: ProjectNode<'a>) -> QueryNode<'a>
fn from(node: ProjectNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
source§impl<'a> From<SelectNode<'a>> for QueryNode<'a>
impl<'a> From<SelectNode<'a>> for QueryNode<'a>
source§fn from(node: SelectNode<'a>) -> QueryNode<'a>
fn from(node: SelectNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for QueryNode<'a>
impl<'a> RefUnwindSafe for QueryNode<'a>
impl<'a> Send for QueryNode<'a>
impl<'a> Sync for QueryNode<'a>
impl<'a> Unpin for QueryNode<'a>
impl<'a> UnwindSafe for QueryNode<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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