Enum sql_parser::keywords::Keyword [−][src]
pub enum Keyword {
Show 274 variants
All,
Alter,
And,
Any,
Arn,
Array,
As,
Asc,
At,
Avro,
Begin,
Between,
Bigint,
Boolean,
Both,
Bpchar,
Broker,
Bucket,
By,
Bytes,
Cascade,
Case,
Cast,
Chain,
Channel,
Char,
Character,
Characteristics,
Check,
Close,
Coalesce,
Collate,
Columns,
Commit,
Committed,
Compiled,
Compression,
Confluent,
Connection,
Consistency,
Constraint,
Copy,
Create,
Cross,
Csv,
Current,
Cursor,
Database,
Databases,
Day,
Days,
Deallocate,
Debezium,
Dec,
Decimal,
Declare,
Decorrelated,
Default,
Delete,
Delimited,
Desc,
Discard,
Discover,
Distinct,
Double,
Drop,
Else,
Enabled,
End,
Enforced,
Envelope,
Except,
Execute,
Exists,
Explain,
Extended,
Extract,
False,
Fetch,
Fields,
File,
Filter,
First,
Float,
Following,
For,
Foreign,
Format,
Forward,
From,
Full,
Graph,
Greatest,
Group,
Groups,
Gzip,
Having,
Header,
Headers,
Hold,
Hour,
Hours,
If,
Ilike,
In,
Include,
Index,
Indexes,
Inner,
Insert,
Int,
Integer,
Intersect,
Interval,
Into,
Is,
Isnull,
Isolation,
Join,
Json,
Kafka,
Key,
Keys,
Kinesis,
Lateral,
Leading,
Least,
Left,
Level,
Like,
Limit,
List,
Local,
Login,
Map,
Matching,
Materialize,
Materialized,
Message,
Minute,
Minutes,
Month,
Months,
Names,
Natural,
Next,
No,
Nologin,
None,
Nosuperuser,
Not,
Notifications,
Null,
Nullif,
Objects,
Ocf,
Of,
Offset,
On,
Only,
Operator,
Optimized,
Option,
Or,
Order,
Ordinality,
Outer,
Over,
Partition,
Physical,
Plan,
Plans,
Position,
Postgres,
Preceding,
Precision,
Prepare,
Primary,
Protobuf,
Publication,
Pubnub,
Query,
Range,
Raw,
Read,
Real,
References,
Regex,
Registry,
Rename,
Repeatable,
Replace,
Reset,
Restrict,
Right,
Role,
Roles,
Rollback,
Row,
Rows,
S3,
Scan,
Schema,
Schemas,
Second,
Seconds,
Seed,
Select,
Sequences,
Serializable,
Session,
Set,
Show,
Sink,
Sinks,
Slot,
Smallint,
Snapshot,
Some,
Source,
Sources,
Sqs,
Start,
Stdin,
Stdout,
String,
Subscribe,
Substring,
Superuser,
Table,
Tables,
Tail,
Temp,
Temporary,
Text,
Then,
Ties,
Time,
Timestamp,
Timing,
To,
Topic,
Trailing,
Transaction,
Trim,
True,
Type,
Typed,
Types,
Unbounded,
Uncommitted,
Union,
Unique,
Unknown,
Update,
Upsert,
User,
Users,
Using,
Value,
Values,
Varchar,
Varying,
View,
Views,
When,
Where,
With,
Without,
Work,
Write,
Year,
Years,
Zone,
}
Variants
All
Alter
And
Any
Arn
Array
As
Asc
At
Avro
Begin
Between
Bigint
Boolean
Both
Bpchar
Broker
Bucket
By
Bytes
Cascade
Case
Cast
Chain
Channel
Char
Character
Characteristics
Check
Close
Coalesce
Collate
Columns
Commit
Committed
Compiled
Compression
Confluent
Connection
Consistency
Constraint
Copy
Create
Cross
Csv
Current
Cursor
Database
Databases
Day
Days
Deallocate
Debezium
Dec
Decimal
Declare
Decorrelated
Default
Delete
Delimited
Desc
Discard
Discover
Distinct
Double
Drop
Else
Enabled
End
Enforced
Envelope
Except
Execute
Exists
Explain
Extended
Extract
False
Fetch
Fields
File
Filter
First
Float
Following
For
Foreign
Format
Forward
From
Full
Graph
Greatest
Group
Groups
Gzip
Having
Header
Headers
Hold
Hour
Hours
If
Ilike
In
Include
Index
Indexes
Inner
Insert
Int
Integer
Intersect
Interval
Into
Is
Isnull
Isolation
Join
Json
Kafka
Key
Keys
Kinesis
Lateral
Leading
Least
Left
Level
Like
Limit
List
Local
Login
Map
Matching
Materialize
Materialized
Message
Minute
Minutes
Month
Months
Names
Natural
Next
No
Nologin
None
Nosuperuser
Not
Notifications
Null
Nullif
Objects
Ocf
Of
Offset
On
Only
Operator
Optimized
Option
Or
Order
Ordinality
Outer
Over
Partition
Physical
Plan
Plans
Position
Postgres
Preceding
Precision
Prepare
Primary
Protobuf
Publication
Pubnub
Query
Range
Raw
Read
Real
References
Regex
Registry
Rename
Repeatable
Replace
Reset
Restrict
Right
Role
Roles
Rollback
Row
Rows
S3
Scan
Schema
Schemas
Second
Seconds
Seed
Select
Sequences
Serializable
Session
Set
Show
Sink
Sinks
Slot
Smallint
Snapshot
Some
Source
Sources
Sqs
Start
Stdin
Stdout
String
Subscribe
Substring
Superuser
Table
Tables
Tail
Temp
Temporary
Text
Then
Ties
Time
Timestamp
Timing
To
Topic
Trailing
Transaction
Trim
True
Type
Typed
Types
Unbounded
Uncommitted
Union
Unique
Unknown
Update
Upsert
User
Users
Using
Value
Values
Varchar
Varying
View
Views
When
Where
With
Without
Work
Write
Year
Years
Zone
Implementations
Reports whether this keyword requires quoting when used as an identifier in any context.
The only exception to the rule is when the keyword follows AS
in a
column or table alias.
Reports whether this keyword requires quoting when used as a table alias.
Note that this rule is only applies when the table alias is “bare”;
i.e., when the table alias is not preceded by AS
.
Ensures that FROM <table_name> <table_alias>
can be parsed
unambiguously.
Reports whether this keyword requires quoting when used as a column alias.
Note that this rule is only applies when the column alias is “bare”;
i.e., when the column alias is not preceded by AS
.
Ensures that SELECT <column_name> <column_alias>
can be parsed
unambiguously.
Reports whether a keyword is considered reserved in any context: either in table aliases, column aliases, or in all contexts.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Keyword
impl UnwindSafe for Keyword
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more