Enum mz_sql_parser::ast::StatementKind
source · pub enum StatementKind {
Show 71 variants
Select,
Insert,
Copy,
Update,
Delete,
CreateConnection,
CreateDatabase,
CreateSchema,
CreateWebhookSource,
CreateSource,
CreateSubsource,
CreateSink,
CreateView,
CreateMaterializedView,
CreateContinualTask,
CreateTable,
CreateTableFromSource,
CreateIndex,
CreateType,
CreateRole,
CreateCluster,
CreateClusterReplica,
CreateSecret,
CreateNetworkPolicy,
AlterCluster,
AlterOwner,
AlterObjectRename,
AlterObjectSwap,
AlterRetainHistory,
AlterIndex,
AlterSecret,
AlterSetCluster,
AlterSink,
AlterSource,
AlterSystemSet,
AlterSystemReset,
AlterSystemResetAll,
AlterConnection,
AlterNetworkPolicy,
AlterRole,
AlterTableAddColumn,
Discard,
DropObjects,
DropOwned,
SetVariable,
ResetVariable,
Show,
StartTransaction,
SetTransaction,
Commit,
Rollback,
Subscribe,
ExplainPlan,
ExplainPushdown,
ExplainTimestamp,
ExplainSinkSchema,
Declare,
Fetch,
Close,
Prepare,
Execute,
Deallocate,
Raise,
GrantRole,
RevokeRole,
GrantPrivileges,
RevokePrivileges,
AlterDefaultPrivileges,
ReassignOwned,
ValidateConnection,
Comment,
}
Variants§
Select
Insert
Copy
Update
Delete
CreateConnection
CreateDatabase
CreateSchema
CreateWebhookSource
CreateSource
CreateSubsource
CreateSink
CreateView
CreateMaterializedView
CreateContinualTask
CreateTable
CreateTableFromSource
CreateIndex
CreateType
CreateRole
CreateCluster
CreateClusterReplica
CreateSecret
CreateNetworkPolicy
AlterCluster
AlterOwner
AlterObjectRename
AlterObjectSwap
AlterRetainHistory
AlterIndex
AlterSecret
AlterSetCluster
AlterSink
AlterSource
AlterSystemSet
AlterSystemReset
AlterSystemResetAll
AlterConnection
AlterNetworkPolicy
AlterRole
AlterTableAddColumn
Discard
DropObjects
DropOwned
SetVariable
ResetVariable
Show
StartTransaction
SetTransaction
Commit
Rollback
Subscribe
ExplainPlan
ExplainPushdown
ExplainTimestamp
ExplainSinkSchema
Declare
Fetch
Close
Prepare
Execute
Deallocate
Raise
GrantRole
RevokeRole
GrantPrivileges
RevokePrivileges
AlterDefaultPrivileges
ReassignOwned
ValidateConnection
Comment
Trait Implementations§
source§impl Clone for StatementKind
impl Clone for StatementKind
source§fn clone(&self) -> StatementKind
fn clone(&self) -> StatementKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StatementKind
impl Debug for StatementKind
source§impl<'de> Deserialize<'de> for StatementKind
impl<'de> Deserialize<'de> for StatementKind
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 for StatementKind
impl PartialEq for StatementKind
source§impl Serialize for StatementKind
impl Serialize for StatementKind
impl Copy for StatementKind
impl Eq for StatementKind
impl StructuralPartialEq for StatementKind
Auto Trait Implementations§
impl Freeze for StatementKind
impl RefUnwindSafe for StatementKind
impl Send for StatementKind
impl Sync for StatementKind
impl Unpin for StatementKind
impl UnwindSafe for StatementKind
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request