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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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