[][src]Enum postgres_parser::nodes::Node

pub enum Node {
    A_ArrayExpr(A_ArrayExpr),
    A_Const(A_Const),
    A_Expr(A_Expr),
    A_Indices(A_Indices),
    A_Indirection(A_Indirection),
    A_Star(A_Star),
    AccessPriv(AccessPriv),
    Aggref(Aggref),
    Alias(Alias),
    AlterCollationStmt(AlterCollationStmt),
    AlterDatabaseSetStmt(AlterDatabaseSetStmt),
    AlterDatabaseStmt(AlterDatabaseStmt),
    AlterDefaultPrivilegesStmt(AlterDefaultPrivilegesStmt),
    AlterDomainStmt(AlterDomainStmt),
    AlterEnumStmt(AlterEnumStmt),
    AlterEventTrigStmt(AlterEventTrigStmt),
    AlterExtensionContentsStmt(AlterExtensionContentsStmt),
    AlterExtensionStmt(AlterExtensionStmt),
    AlterFdwStmt(AlterFdwStmt),
    AlterForeignServerStmt(AlterForeignServerStmt),
    AlterFunctionStmt(AlterFunctionStmt),
    AlterObjectDependsStmt(AlterObjectDependsStmt),
    AlterObjectSchemaStmt(AlterObjectSchemaStmt),
    AlterOpFamilyStmt(AlterOpFamilyStmt),
    AlterOperatorStmt(AlterOperatorStmt),
    AlterOwnerStmt(AlterOwnerStmt),
    AlterPolicyStmt(AlterPolicyStmt),
    AlterPublicationStmt(AlterPublicationStmt),
    AlterRoleSetStmt(AlterRoleSetStmt),
    AlterRoleStmt(AlterRoleStmt),
    AlterSeqStmt(AlterSeqStmt),
    AlterSubscriptionStmt(AlterSubscriptionStmt),
    AlterSystemStmt(AlterSystemStmt),
    AlterTSConfigurationStmt(AlterTSConfigurationStmt),
    AlterTSDictionaryStmt(AlterTSDictionaryStmt),
    AlterTableCmd(AlterTableCmd),
    AlterTableMoveAllStmt(AlterTableMoveAllStmt),
    AlterTableSpaceOptionsStmt(AlterTableSpaceOptionsStmt),
    AlterTableStmt(AlterTableStmt),
    AlterUserMappingStmt(AlterUserMappingStmt),
    AlternativeSubPlan(AlternativeSubPlan),
    ArrayCoerceExpr(ArrayCoerceExpr),
    ArrayExpr(ArrayExpr),
    BoolExpr(BoolExpr),
    BooleanTest(BooleanTest),
    CallContext(CallContext),
    CallStmt(CallStmt),
    CaseExpr(CaseExpr),
    CaseTestExpr(CaseTestExpr),
    CaseWhen(CaseWhen),
    CheckPointStmt(CheckPointStmt),
    ClosePortalStmt(ClosePortalStmt),
    ClusterStmt(ClusterStmt),
    CoalesceExpr(CoalesceExpr),
    CoerceToDomain(CoerceToDomain),
    CoerceToDomainValue(CoerceToDomainValue),
    CoerceViaIO(CoerceViaIO),
    CollateClause(CollateClause),
    CollateExpr(CollateExpr),
    ColumnDef(ColumnDef),
    ColumnRef(ColumnRef),
    CommentStmt(CommentStmt),
    CommonTableExpr(CommonTableExpr),
    CompositeTypeStmt(CompositeTypeStmt),
    Const(Const),
    Constraint(Constraint),
    ConstraintsSetStmt(ConstraintsSetStmt),
    ConvertRowtypeExpr(ConvertRowtypeExpr),
    CopyStmt(CopyStmt),
    CreateAmStmt(CreateAmStmt),
    CreateCastStmt(CreateCastStmt),
    CreateConversionStmt(CreateConversionStmt),
    CreateDomainStmt(CreateDomainStmt),
    CreateEnumStmt(CreateEnumStmt),
    CreateEventTrigStmt(CreateEventTrigStmt),
    CreateExtensionStmt(CreateExtensionStmt),
    CreateFdwStmt(CreateFdwStmt),
    CreateForeignServerStmt(CreateForeignServerStmt),
    CreateForeignTableStmt(CreateForeignTableStmt),
    CreateFunctionStmt(CreateFunctionStmt),
    CreateOpClassItem(CreateOpClassItem),
    CreateOpClassStmt(CreateOpClassStmt),
    CreateOpFamilyStmt(CreateOpFamilyStmt),
    CreatePLangStmt(CreatePLangStmt),
    CreatePolicyStmt(CreatePolicyStmt),
    CreatePublicationStmt(CreatePublicationStmt),
    CreateRangeStmt(CreateRangeStmt),
    CreateRoleStmt(CreateRoleStmt),
    CreateSchemaStmt(CreateSchemaStmt),
    CreateSeqStmt(CreateSeqStmt),
    CreateStatsStmt(CreateStatsStmt),
    CreateStmt(CreateStmt),
    CreateSubscriptionStmt(CreateSubscriptionStmt),
    CreateTableAsStmt(CreateTableAsStmt),
    CreateTableSpaceStmt(CreateTableSpaceStmt),
    CreateTransformStmt(CreateTransformStmt),
    CreateTrigStmt(CreateTrigStmt),
    CreateUserMappingStmt(CreateUserMappingStmt),
    CreatedbStmt(CreatedbStmt),
    CurrentOfExpr(CurrentOfExpr),
    DeallocateStmt(DeallocateStmt),
    DeclareCursorStmt(DeclareCursorStmt),
    DefElem(DefElem),
    DefineStmt(DefineStmt),
    DeleteStmt(DeleteStmt),
    DiscardStmt(DiscardStmt),
    DoStmt(DoStmt),
    DropOwnedStmt(DropOwnedStmt),
    DropRoleStmt(DropRoleStmt),
    DropStmt(DropStmt),
    DropSubscriptionStmt(DropSubscriptionStmt),
    DropTableSpaceStmt(DropTableSpaceStmt),
    DropUserMappingStmt(DropUserMappingStmt),
    DropdbStmt(DropdbStmt),
    ExecuteStmt(ExecuteStmt),
    ExplainStmt(ExplainStmt),
    Expr(Expr),
    FetchStmt(FetchStmt),
    FieldSelect(FieldSelect),
    FieldStore(FieldStore),
    FromExpr(FromExpr),
    FuncCall(FuncCall),
    FuncExpr(FuncExpr),
    FunctionParameter(FunctionParameter),
    GrantRoleStmt(GrantRoleStmt),
    GrantStmt(GrantStmt),
    GroupingFunc(GroupingFunc),
    GroupingSet(GroupingSet),
    ImportForeignSchemaStmt(ImportForeignSchemaStmt),
    IndexElem(IndexElem),
    IndexStmt(IndexStmt),
    InferClause(InferClause),
    InferenceElem(InferenceElem),
    InlineCodeBlock(InlineCodeBlock),
    InsertStmt(InsertStmt),
    IntoClause(IntoClause),
    JoinExpr(JoinExpr),
    List(Vec<Node>),
    ListenStmt(ListenStmt),
    LoadStmt(LoadStmt),
    LockStmt(LockStmt),
    LockingClause(LockingClause),
    MinMaxExpr(MinMaxExpr),
    MultiAssignRef(MultiAssignRef),
    NamedArgExpr(NamedArgExpr),
    NextValueExpr(NextValueExpr),
    NotifyStmt(NotifyStmt),
    NullTest(NullTest),
    ObjectWithArgs(ObjectWithArgs),
    OnConflictClause(OnConflictClause),
    OnConflictExpr(OnConflictExpr),
    OpExpr(OpExpr),
    Param(Param),
    ParamRef(ParamRef),
    PartitionBoundSpec(PartitionBoundSpec),
    PartitionCmd(PartitionCmd),
    PartitionElem(PartitionElem),
    PartitionRangeDatum(PartitionRangeDatum),
    PartitionSpec(PartitionSpec),
    PrepareStmt(PrepareStmt),
    RangeFunction(RangeFunction),
    RangeSubselect(RangeSubselect),
    RangeTableFunc(RangeTableFunc),
    RangeTableFuncCol(RangeTableFuncCol),
    RangeTableSample(RangeTableSample),
    RangeTblRef(RangeTblRef),
    RangeVar(RangeVar),
    RawStmt(RawStmt),
    ReassignOwnedStmt(ReassignOwnedStmt),
    RefreshMatViewStmt(RefreshMatViewStmt),
    ReindexStmt(ReindexStmt),
    RelabelType(RelabelType),
    RenameStmt(RenameStmt),
    ReplicaIdentityStmt(ReplicaIdentityStmt),
    ResTarget(ResTarget),
    RoleSpec(RoleSpec),
    RowCompareExpr(RowCompareExpr),
    RowExpr(RowExpr),
    RowMarkClause(RowMarkClause),
    RuleStmt(RuleStmt),
    SQLValueFunction(SQLValueFunction),
    ScalarArrayOpExpr(ScalarArrayOpExpr),
    SecLabelStmt(SecLabelStmt),
    SelectStmt(SelectStmt),
    SetOperationStmt(SetOperationStmt),
    SetToDefault(SetToDefault),
    SortBy(SortBy),
    SortGroupClause(SortGroupClause),
    SubLink(SubLink),
    SubscriptingRef(SubscriptingRef),
    TableFunc(TableFunc),
    TableLikeClause(TableLikeClause),
    TableSampleClause(TableSampleClause),
    TargetEntry(TargetEntry),
    TransactionStmt(TransactionStmt),
    TriggerTransition(TriggerTransition),
    TruncateStmt(TruncateStmt),
    TypeCast(TypeCast),
    TypeName(TypeName),
    UnlistenStmt(UnlistenStmt),
    UpdateStmt(UpdateStmt),
    VacuumRelation(VacuumRelation),
    VacuumStmt(VacuumStmt),
    Value(Value),
    Var(Var),
    VariableSetStmt(VariableSetStmt),
    VariableShowStmt(VariableShowStmt),
    ViewStmt(ViewStmt),
    WindowClause(WindowClause),
    WindowDef(WindowDef),
    WindowFunc(WindowFunc),
    WithCheckOption(WithCheckOption),
    WithClause(WithClause),
    XmlExpr(XmlExpr),
    XmlSerialize(XmlSerialize),
}

All the various Postgres parse tree nodes that can be returned upon parsing a SQL statement

Variants

A_ArrayExpr(A_ArrayExpr)
A_Const(A_Const)
A_Expr(A_Expr)
A_Indices(A_Indices)
A_Indirection(A_Indirection)
A_Star(A_Star)
AccessPriv(AccessPriv)
Aggref(Aggref)
Alias(Alias)
AlterCollationStmt(AlterCollationStmt)
AlterDatabaseSetStmt(AlterDatabaseSetStmt)
AlterDatabaseStmt(AlterDatabaseStmt)
AlterDefaultPrivilegesStmt(AlterDefaultPrivilegesStmt)
AlterDomainStmt(AlterDomainStmt)
AlterEnumStmt(AlterEnumStmt)
AlterEventTrigStmt(AlterEventTrigStmt)
AlterExtensionContentsStmt(AlterExtensionContentsStmt)
AlterExtensionStmt(AlterExtensionStmt)
AlterFdwStmt(AlterFdwStmt)
AlterForeignServerStmt(AlterForeignServerStmt)
AlterFunctionStmt(AlterFunctionStmt)
AlterObjectDependsStmt(AlterObjectDependsStmt)
AlterObjectSchemaStmt(AlterObjectSchemaStmt)
AlterOpFamilyStmt(AlterOpFamilyStmt)
AlterOperatorStmt(AlterOperatorStmt)
AlterOwnerStmt(AlterOwnerStmt)
AlterPolicyStmt(AlterPolicyStmt)
AlterPublicationStmt(AlterPublicationStmt)
AlterRoleSetStmt(AlterRoleSetStmt)
AlterRoleStmt(AlterRoleStmt)
AlterSeqStmt(AlterSeqStmt)
AlterSubscriptionStmt(AlterSubscriptionStmt)
AlterSystemStmt(AlterSystemStmt)
AlterTSConfigurationStmt(AlterTSConfigurationStmt)
AlterTSDictionaryStmt(AlterTSDictionaryStmt)
AlterTableCmd(AlterTableCmd)
AlterTableMoveAllStmt(AlterTableMoveAllStmt)
AlterTableSpaceOptionsStmt(AlterTableSpaceOptionsStmt)
AlterTableStmt(AlterTableStmt)
AlterUserMappingStmt(AlterUserMappingStmt)
AlternativeSubPlan(AlternativeSubPlan)
ArrayCoerceExpr(ArrayCoerceExpr)
ArrayExpr(ArrayExpr)
BoolExpr(BoolExpr)
BooleanTest(BooleanTest)
CallContext(CallContext)
CallStmt(CallStmt)
CaseExpr(CaseExpr)
CaseTestExpr(CaseTestExpr)
CaseWhen(CaseWhen)
CheckPointStmt(CheckPointStmt)
ClosePortalStmt(ClosePortalStmt)
ClusterStmt(ClusterStmt)
CoalesceExpr(CoalesceExpr)
CoerceToDomain(CoerceToDomain)
CoerceToDomainValue(CoerceToDomainValue)
CoerceViaIO(CoerceViaIO)
CollateClause(CollateClause)
CollateExpr(CollateExpr)
ColumnDef(ColumnDef)
ColumnRef(ColumnRef)
CommentStmt(CommentStmt)
CommonTableExpr(CommonTableExpr)
CompositeTypeStmt(CompositeTypeStmt)
Const(Const)
Constraint(Constraint)
ConstraintsSetStmt(ConstraintsSetStmt)
ConvertRowtypeExpr(ConvertRowtypeExpr)
CopyStmt(CopyStmt)
CreateAmStmt(CreateAmStmt)
CreateCastStmt(CreateCastStmt)
CreateConversionStmt(CreateConversionStmt)
CreateDomainStmt(CreateDomainStmt)
CreateEnumStmt(CreateEnumStmt)
CreateEventTrigStmt(CreateEventTrigStmt)
CreateExtensionStmt(CreateExtensionStmt)
CreateFdwStmt(CreateFdwStmt)
CreateForeignServerStmt(CreateForeignServerStmt)
CreateForeignTableStmt(CreateForeignTableStmt)
CreateFunctionStmt(CreateFunctionStmt)
CreateOpClassItem(CreateOpClassItem)
CreateOpClassStmt(CreateOpClassStmt)
CreateOpFamilyStmt(CreateOpFamilyStmt)
CreatePLangStmt(CreatePLangStmt)
CreatePolicyStmt(CreatePolicyStmt)
CreatePublicationStmt(CreatePublicationStmt)
CreateRangeStmt(CreateRangeStmt)
CreateRoleStmt(CreateRoleStmt)
CreateSchemaStmt(CreateSchemaStmt)
CreateSeqStmt(CreateSeqStmt)
CreateStatsStmt(CreateStatsStmt)
CreateStmt(CreateStmt)
CreateSubscriptionStmt(CreateSubscriptionStmt)
CreateTableAsStmt(CreateTableAsStmt)
CreateTableSpaceStmt(CreateTableSpaceStmt)
CreateTransformStmt(CreateTransformStmt)
CreateTrigStmt(CreateTrigStmt)
CreateUserMappingStmt(CreateUserMappingStmt)
CreatedbStmt(CreatedbStmt)
CurrentOfExpr(CurrentOfExpr)
DeallocateStmt(DeallocateStmt)
DeclareCursorStmt(DeclareCursorStmt)
DefElem(DefElem)
DefineStmt(DefineStmt)
DeleteStmt(DeleteStmt)
DiscardStmt(DiscardStmt)
DoStmt(DoStmt)
DropOwnedStmt(DropOwnedStmt)
DropRoleStmt(DropRoleStmt)
DropStmt(DropStmt)
DropSubscriptionStmt(DropSubscriptionStmt)
DropTableSpaceStmt(DropTableSpaceStmt)
DropUserMappingStmt(DropUserMappingStmt)
DropdbStmt(DropdbStmt)
ExecuteStmt(ExecuteStmt)
ExplainStmt(ExplainStmt)
Expr(Expr)
FetchStmt(FetchStmt)
FieldSelect(FieldSelect)
FieldStore(FieldStore)
FromExpr(FromExpr)
FuncCall(FuncCall)
FuncExpr(FuncExpr)
FunctionParameter(FunctionParameter)
GrantRoleStmt(GrantRoleStmt)
GrantStmt(GrantStmt)
GroupingFunc(GroupingFunc)
GroupingSet(GroupingSet)
ImportForeignSchemaStmt(ImportForeignSchemaStmt)
IndexElem(IndexElem)
IndexStmt(IndexStmt)
InferClause(InferClause)
InferenceElem(InferenceElem)
InlineCodeBlock(InlineCodeBlock)
InsertStmt(InsertStmt)
IntoClause(IntoClause)
JoinExpr(JoinExpr)
List(Vec<Node>)
ListenStmt(ListenStmt)
LoadStmt(LoadStmt)
LockStmt(LockStmt)
LockingClause(LockingClause)
MinMaxExpr(MinMaxExpr)
MultiAssignRef(MultiAssignRef)
NamedArgExpr(NamedArgExpr)
NextValueExpr(NextValueExpr)
NotifyStmt(NotifyStmt)
NullTest(NullTest)
ObjectWithArgs(ObjectWithArgs)
OnConflictClause(OnConflictClause)
OnConflictExpr(OnConflictExpr)
OpExpr(OpExpr)
Param(Param)
ParamRef(ParamRef)
PartitionBoundSpec(PartitionBoundSpec)
PartitionCmd(PartitionCmd)
PartitionElem(PartitionElem)
PartitionRangeDatum(PartitionRangeDatum)
PartitionSpec(PartitionSpec)
PrepareStmt(PrepareStmt)
RangeFunction(RangeFunction)
RangeSubselect(RangeSubselect)
RangeTableFunc(RangeTableFunc)
RangeTableFuncCol(RangeTableFuncCol)
RangeTableSample(RangeTableSample)
RangeTblRef(RangeTblRef)
RangeVar(RangeVar)
RawStmt(RawStmt)
ReassignOwnedStmt(ReassignOwnedStmt)
RefreshMatViewStmt(RefreshMatViewStmt)
ReindexStmt(ReindexStmt)
RelabelType(RelabelType)
RenameStmt(RenameStmt)
ReplicaIdentityStmt(ReplicaIdentityStmt)
ResTarget(ResTarget)
RoleSpec(RoleSpec)
RowCompareExpr(RowCompareExpr)
RowExpr(RowExpr)
RowMarkClause(RowMarkClause)
RuleStmt(RuleStmt)
SQLValueFunction(SQLValueFunction)
ScalarArrayOpExpr(ScalarArrayOpExpr)
SecLabelStmt(SecLabelStmt)
SelectStmt(SelectStmt)
SetOperationStmt(SetOperationStmt)
SetToDefault(SetToDefault)
SortBy(SortBy)
SortGroupClause(SortGroupClause)
SubscriptingRef(SubscriptingRef)
TableFunc(TableFunc)
TableLikeClause(TableLikeClause)
TableSampleClause(TableSampleClause)
TargetEntry(TargetEntry)
TransactionStmt(TransactionStmt)
TriggerTransition(TriggerTransition)
TruncateStmt(TruncateStmt)
TypeCast(TypeCast)
TypeName(TypeName)
UnlistenStmt(UnlistenStmt)
UpdateStmt(UpdateStmt)
VacuumRelation(VacuumRelation)
VacuumStmt(VacuumStmt)
Value(Value)
Var(Var)
VariableSetStmt(VariableSetStmt)
VariableShowStmt(VariableShowStmt)
ViewStmt(ViewStmt)
WindowClause(WindowClause)
WindowDef(WindowDef)
WindowFunc(WindowFunc)
WithCheckOption(WithCheckOption)
WithClause(WithClause)
XmlExpr(XmlExpr)
XmlSerialize(XmlSerialize)

Trait Implementations

impl Debug for Node[src]

impl<'de> Deserialize<'de> for Node[src]

impl Eq for Node[src]

impl PartialEq<Node> for Node[src]

impl Serialize for Node[src]

impl StructuralEq for Node[src]

impl StructuralPartialEq for Node[src]

Auto Trait Implementations

impl RefUnwindSafe for Node

impl Send for Node

impl Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.