pub enum Keyword {
Show 520 variants
NoKeyword,
ABORT,
ABS,
ACTION,
ADAPTIVE,
ADD,
AGGREGATE,
ALL,
ALLOCATE,
ALTER,
ANALYSE,
ANALYZE,
AND,
ANY,
APPEND,
ARE,
ARRAY,
ARRAY_AGG,
ARRAY_MAX_CARDINALITY,
AS,
ASC,
ASENSITIVE,
ASOF,
ASYMMETRIC,
AT,
ATOMIC,
AUTHORIZATION,
AUTO,
AVG,
BASE64,
BEGIN,
BEGIN_FRAME,
BEGIN_PARTITION,
BETWEEN,
BIGINT,
BINARY,
BIT_LENGTH,
BLOB,
BOOL,
BOOLEAN,
BOTH,
BY,
BYTEA,
CACHE,
CALL,
CALLED,
CANCEL,
CARDINALITY,
CASCADE,
CASCADED,
CASE,
CAST,
CEIL,
CEILING,
CHAIN,
CHAR,
CHARACTER,
CHARACTERISTICS,
CHARACTER_LENGTH,
CHAR_LENGTH,
CHECK,
CLOB,
CLOSE,
CLUSTER,
COALESCE,
COLLATE,
COLLATION,
COLLECT,
COLUMN,
COLUMNS,
COMMENT,
COMMIT,
COMMITTED,
CONCURRENTLY,
CONDITION,
CONFLICT,
CONFLUENT,
CONNECT,
CONNECTION,
CONNECTIONS,
CONSTRAINT,
CONTAINS,
CONVERT,
COPY,
CORR,
CORRESPONDING,
COUNT,
COVAR_POP,
COVAR_SAMP,
CREATE,
CREATEDB,
CREATEUSER,
CROSS,
CUBE,
CUME_DIST,
CURRENT,
CURRENT_CATALOG,
CURRENT_DATE,
CURRENT_DEFAULT_TRANSFORM_GROUP,
CURRENT_PATH,
CURRENT_ROLE,
CURRENT_ROW,
CURRENT_SCHEMA,
CURRENT_TIME,
CURRENT_TIMESTAMP,
CURRENT_TRANSFORM_GROUP_FOR_TYPE,
CURRENT_USER,
CURSOR,
CURSORS,
CYCLE,
DATA,
DATABASE,
DATABASES,
DATE,
DAY,
DEALLOCATE,
DEC,
DECIMAL,
DECLARE,
DEFAULT,
DEFERRABLE,
DEFERRED,
DELETE,
DELIMITED,
DENSE_RANK,
DEREF,
DESC,
DESCRIBE,
DETERMINISTIC,
DIRECTORY,
DISCARD,
DISCONNECT,
DISTINCT,
DISTRIBUTED,
DISTSQL,
DO,
DOT,
DOUBLE,
DROP,
DYNAMIC,
EACH,
ELEMENT,
ELSE,
EMIT,
ENCODE,
ENCRYPTED,
END,
END_EXEC,
END_FRAME,
END_PARTITION,
EQUALS,
ERROR,
ESCAPE,
EVENT,
EVERY,
EXCEPT,
EXCLUDE,
EXEC,
EXECUTE,
EXISTS,
EXP,
EXPLAIN,
EXTERNAL,
EXTRACT,
FALSE,
FETCH,
FILE,
FILTER,
FIRST,
FIRST_VALUE,
FLOAT,
FLOOR,
FLUSH,
FOLLOWING,
FOR,
FOREIGN,
FORMAT,
FRAME_ROW,
FREE,
FREEZE,
FROM,
FULL,
FUNCTION,
FUNCTIONS,
FUSION,
GAP,
GET,
GLOBAL,
GRANT,
GRANTED,
GROUP,
GROUPING,
GROUPS,
HAVING,
HEADER,
HOLD,
HOUR,
IDENTITY,
IF,
IGNORE,
ILIKE,
IMMEDIATELY,
IMMUTABLE,
IN,
INCLUDE,
INDEX,
INDEXES,
INDICATOR,
INITIALLY,
INNER,
INOUT,
INSENSITIVE,
INSERT,
INT,
INTEGER,
INTERNAL,
INTERSECT,
INTERSECTION,
INTERVAL,
INTO,
IS,
ISNULL,
ISOLATION,
JOB,
JOBS,
JOIN,
JSON,
KEY,
KEYS,
KILL,
LANGUAGE,
LARGE,
LAST,
LATERAL,
LEADING,
LEFT,
LEVEL,
LIKE,
LIMIT,
LINK,
LN,
LOCAL,
LOCALTIME,
LOCALTIMESTAMP,
LOCATION,
LOGICAL,
LOGIN,
LOWER,
MAP,
MATCH,
MATERIALIZED,
MAX,
MEMBER,
MERGE,
MESSAGE,
METHOD,
MIN,
MINUTE,
MOD,
MODIFIES,
MODULE,
MONTH,
MULTISET,
NATIONAL,
NATIVE,
NATURAL,
NCHAR,
NCLOB,
NEW,
NEXT,
NO,
NOCREATEDB,
NOCREATEUSER,
NOLOGIN,
NONE,
NORMALIZE,
NOSCAN,
NOSUPERUSER,
NOT,
NOTHING,
NOTNULL,
NTH_VALUE,
NTILE,
NULL,
NULLIF,
NULLS,
NUMERIC,
OAUTH,
OBJECT,
OCCURRENCES_REGEX,
OCTET_LENGTH,
OF,
OFFSET,
OLD,
ON,
ONLY,
OPEN,
OPERATOR,
OPTION,
OR,
ORDER,
ORDINALITY,
OTHERS,
OUT,
OUTER,
OUTPUTFORMAT,
OVER,
OVERLAPS,
OVERLAY,
OVERWRITE,
OWNER,
PARALLELISM,
PARAMETER,
PARQUET,
PARTITION,
PARTITIONED,
PARTITIONS,
PASSWORD,
PERCENT,
PERCENTILE_CONT,
PERCENTILE_DISC,
PERCENT_RANK,
PERIOD,
PHYSICAL,
PLACING,
PORTION,
POSITION,
POSITION_REGEX,
POWER,
PRECEDES,
PRECEDING,
PRECISION,
PREPARE,
PRIMARY,
PRIVILEGES,
PROCEDURE,
PROCESSLIST,
PURGE,
RANGE,
RANK,
RCFILE,
READ,
READS,
REAL,
RECOVER,
RECURSIVE,
REF,
REFERENCES,
REFERENCING,
REFRESH,
REGISTRY,
REGR_AVGX,
REGR_AVGY,
REGR_COUNT,
REGR_INTERCEPT,
REGR_R2,
REGR_SLOPE,
REGR_SXX,
REGR_SXY,
REGR_SYY,
RELEASE,
RENAME,
REPAIR,
REPEATABLE,
REPLACE,
RESTRICT,
RESULT,
RETURN,
RETURNING,
RETURNS,
REVOKE,
RIGHT,
ROLLBACK,
ROLLUP,
ROW,
ROWID,
ROWS,
ROW_NUMBER,
RUNTIME,
SAVEPOINT,
SCALAR,
SCHEMA,
SCHEMAS,
SCOPE,
SCROLL,
SEARCH,
SECOND,
SECRET,
SECRETS,
SELECT,
SENSITIVE,
SEQUENCE,
SEQUENCEFILE,
SEQUENCES,
SERDE,
SERIALIZABLE,
SESSION,
SESSION_USER,
SET,
SETS,
SHOW,
SIMILAR,
SINCE,
SINK,
SINKS,
SMALLINT,
SNAPSHOT,
SOME,
SORT,
SOURCE,
SOURCES,
SPECIFIC,
SPECIFICTYPE,
SQL,
SQLEXCEPTION,
SQLSTATE,
SQLWARNING,
SQRT,
STABLE,
START,
STATIC,
STATISTICS,
STDDEV_POP,
STDDEV_SAMP,
STDIN,
STORED,
STRING,
STRUCT,
SUBMULTISET,
SUBSCRIPTION,
SUBSCRIPTIONS,
SUBSTRING,
SUBSTRING_REGEX,
SUCCEEDS,
SUM,
SUPERUSER,
SWAP,
SYMMETRIC,
SYNC,
SYSTEM,
SYSTEM_TIME,
SYSTEM_USER,
SYSTEM_VERSION,
TABLE,
TABLES,
TABLESAMPLE,
TBLPROPERTIES,
TEMP,
TEMPORARY,
TEXT,
TEXTFILE,
THEN,
TIES,
TIME,
TIMESTAMP,
TIMEZONE_HOUR,
TIMEZONE_MINUTE,
TINYINT,
TO,
TOP,
TRACE,
TRAILING,
TRANSACTION,
TRANSLATE,
TRANSLATE_REGEX,
TRANSLATION,
TREAT,
TRIGGER,
TRIM,
TRIM_ARRAY,
TRUE,
TRUNCATE,
TRY_CAST,
TYPE,
UESCAPE,
UNBOUNDED,
UNCOMMITTED,
UNION,
UNIQUE,
UNKNOWN,
UNNEST,
UPDATE,
UPPER,
USAGE,
USER,
USING,
UUID,
VALUE,
VALUES,
VALUE_OF,
VARBINARY,
VARCHAR,
VARIADIC,
VARYING,
VAR_POP,
VAR_SAMP,
VERBOSE,
VERSION,
VERSIONING,
VIEW,
VIEWS,
VIRTUAL,
VOLATILE,
WAIT,
WATERMARK,
WHEN,
WHENEVER,
WHERE,
WIDTH_BUCKET,
WINDOW,
WITH,
WITHIN,
WITHOUT,
WORK,
WRITE,
XML,
XOR,
YAML,
YEAR,
ZONE,
}
Variants§
NoKeyword
ABORT
ABS
ACTION
ADAPTIVE
ADD
AGGREGATE
ALL
ALLOCATE
ALTER
ANALYSE
ANALYZE
AND
ANY
APPEND
ARE
ARRAY
ARRAY_AGG
ARRAY_MAX_CARDINALITY
AS
ASC
ASENSITIVE
ASOF
ASYMMETRIC
AT
ATOMIC
AUTHORIZATION
AUTO
AVG
BASE64
BEGIN
BEGIN_FRAME
BEGIN_PARTITION
BETWEEN
BIGINT
BINARY
BIT_LENGTH
BLOB
BOOL
BOOLEAN
BOTH
BY
BYTEA
CACHE
CALL
CALLED
CANCEL
CARDINALITY
CASCADE
CASCADED
CASE
CAST
CEIL
CEILING
CHAIN
CHAR
CHARACTER
CHARACTERISTICS
CHARACTER_LENGTH
CHAR_LENGTH
CHECK
CLOB
CLOSE
CLUSTER
COALESCE
COLLATE
COLLATION
COLLECT
COLUMN
COLUMNS
COMMENT
COMMIT
COMMITTED
CONCURRENTLY
CONDITION
CONFLICT
CONFLUENT
CONNECT
CONNECTION
CONNECTIONS
CONSTRAINT
CONTAINS
CONVERT
COPY
CORR
CORRESPONDING
COUNT
COVAR_POP
COVAR_SAMP
CREATE
CREATEDB
CREATEUSER
CROSS
CUBE
CUME_DIST
CURRENT
CURRENT_CATALOG
CURRENT_DATE
CURRENT_DEFAULT_TRANSFORM_GROUP
CURRENT_PATH
CURRENT_ROLE
CURRENT_ROW
CURRENT_SCHEMA
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_TRANSFORM_GROUP_FOR_TYPE
CURRENT_USER
CURSOR
CURSORS
CYCLE
DATA
DATABASE
DATABASES
DATE
DAY
DEALLOCATE
DEC
DECIMAL
DECLARE
DEFAULT
DEFERRABLE
DEFERRED
DELETE
DELIMITED
DENSE_RANK
DEREF
DESC
DESCRIBE
DETERMINISTIC
DIRECTORY
DISCARD
DISCONNECT
DISTINCT
DISTRIBUTED
DISTSQL
DO
DOT
DOUBLE
DROP
DYNAMIC
EACH
ELEMENT
ELSE
EMIT
ENCODE
ENCRYPTED
END
END_EXEC
END_FRAME
END_PARTITION
EQUALS
ERROR
ESCAPE
EVENT
EVERY
EXCEPT
EXCLUDE
EXEC
EXECUTE
EXISTS
EXP
EXPLAIN
EXTERNAL
EXTRACT
FALSE
FETCH
FILE
FILTER
FIRST
FIRST_VALUE
FLOAT
FLOOR
FLUSH
FOLLOWING
FOR
FOREIGN
FORMAT
FRAME_ROW
FREE
FREEZE
FROM
FULL
FUNCTION
FUNCTIONS
FUSION
GAP
GET
GLOBAL
GRANT
GRANTED
GROUP
GROUPING
GROUPS
HAVING
HEADER
HOLD
HOUR
IDENTITY
IF
IGNORE
ILIKE
IMMEDIATELY
IMMUTABLE
IN
INCLUDE
INDEX
INDEXES
INDICATOR
INITIALLY
INNER
INOUT
INSENSITIVE
INSERT
INT
INTEGER
INTERNAL
INTERSECT
INTERSECTION
INTERVAL
INTO
IS
ISNULL
ISOLATION
JOB
JOBS
JOIN
JSON
KEY
KEYS
KILL
LANGUAGE
LARGE
LAST
LATERAL
LEADING
LEFT
LEVEL
LIKE
LIMIT
LINK
LN
LOCAL
LOCALTIME
LOCALTIMESTAMP
LOCATION
LOGICAL
LOGIN
LOWER
MAP
MATCH
MATERIALIZED
MAX
MEMBER
MERGE
MESSAGE
METHOD
MIN
MINUTE
MOD
MODIFIES
MODULE
MONTH
MULTISET
NATIONAL
NATIVE
NATURAL
NCHAR
NCLOB
NEW
NEXT
NO
NOCREATEDB
NOCREATEUSER
NOLOGIN
NONE
NORMALIZE
NOSCAN
NOSUPERUSER
NOT
NOTHING
NOTNULL
NTH_VALUE
NTILE
NULL
NULLIF
NULLS
NUMERIC
OAUTH
OBJECT
OCCURRENCES_REGEX
OCTET_LENGTH
OF
OFFSET
OLD
ON
ONLY
OPEN
OPERATOR
OPTION
OR
ORDER
ORDINALITY
OTHERS
OUT
OUTER
OUTPUTFORMAT
OVER
OVERLAPS
OVERLAY
OVERWRITE
OWNER
PARALLELISM
PARAMETER
PARQUET
PARTITION
PARTITIONED
PARTITIONS
PASSWORD
PERCENT
PERCENTILE_CONT
PERCENTILE_DISC
PERCENT_RANK
PERIOD
PHYSICAL
PLACING
PORTION
POSITION
POSITION_REGEX
POWER
PRECEDES
PRECEDING
PRECISION
PREPARE
PRIMARY
PRIVILEGES
PROCEDURE
PROCESSLIST
PURGE
RANGE
RANK
RCFILE
READ
READS
REAL
RECOVER
RECURSIVE
REF
REFERENCES
REFERENCING
REFRESH
REGISTRY
REGR_AVGX
REGR_AVGY
REGR_COUNT
REGR_INTERCEPT
REGR_R2
REGR_SLOPE
REGR_SXX
REGR_SXY
REGR_SYY
RELEASE
RENAME
REPAIR
REPEATABLE
REPLACE
RESTRICT
RESULT
RETURN
RETURNING
RETURNS
REVOKE
RIGHT
ROLLBACK
ROLLUP
ROW
ROWID
ROWS
ROW_NUMBER
RUNTIME
SAVEPOINT
SCALAR
SCHEMA
SCHEMAS
SCOPE
SCROLL
SEARCH
SECOND
SECRET
SECRETS
SELECT
SENSITIVE
SEQUENCE
SEQUENCEFILE
SEQUENCES
SERDE
SERIALIZABLE
SESSION
SESSION_USER
SET
SETS
SHOW
SIMILAR
SINCE
SINK
SINKS
SMALLINT
SNAPSHOT
SOME
SORT
SOURCE
SOURCES
SPECIFIC
SPECIFICTYPE
SQL
SQLEXCEPTION
SQLSTATE
SQLWARNING
SQRT
STABLE
START
STATIC
STATISTICS
STDDEV_POP
STDDEV_SAMP
STDIN
STORED
STRING
STRUCT
SUBMULTISET
SUBSCRIPTION
SUBSCRIPTIONS
SUBSTRING
SUBSTRING_REGEX
SUCCEEDS
SUM
SUPERUSER
SWAP
SYMMETRIC
SYNC
SYSTEM
SYSTEM_TIME
SYSTEM_USER
SYSTEM_VERSION
TABLE
TABLES
TABLESAMPLE
TBLPROPERTIES
TEMP
TEMPORARY
TEXT
TEXTFILE
THEN
TIES
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TINYINT
TO
TOP
TRACE
TRAILING
TRANSACTION
TRANSLATE
TRANSLATE_REGEX
TRANSLATION
TREAT
TRIGGER
TRIM
TRIM_ARRAY
TRUE
TRUNCATE
TRY_CAST
TYPE
UESCAPE
UNBOUNDED
UNCOMMITTED
UNION
UNIQUE
UNKNOWN
UNNEST
UPDATE
UPPER
USAGE
USER
USING
UUID
VALUE
VALUES
VALUE_OF
VARBINARY
VARCHAR
VARIADIC
VARYING
VAR_POP
VAR_SAMP
VERBOSE
VERSION
VERSIONING
VIEW
VIEWS
VIRTUAL
VOLATILE
WAIT
WATERMARK
WHEN
WHENEVER
WHERE
WIDTH_BUCKET
WINDOW
WITH
WITHIN
WITHOUT
WORK
WRITE
XML
XOR
YAML
YEAR
ZONE
Trait Implementations§
source§impl Ord for Keyword
impl Ord for Keyword
source§impl<I> Parser<I, Keyword, ContextError> for Keywordwhere
I: TokenStream,
impl<I> Parser<I, Keyword, ContextError> for Keywordwhere
I: TokenStream,
source§fn parse_next(&mut self, input: &mut I) -> PResult<Keyword, ContextError>
fn parse_next(&mut self, input: &mut I) -> PResult<Keyword, ContextError>
Take tokens from the [
Stream
], turning it into the output Read more§fn parse_peek(&mut self, input: I) -> Result<(I, O), ErrMode<E>>
fn parse_peek(&mut self, input: I) -> Result<(I, O), ErrMode<E>>
Take tokens from the [
Stream
], turning it into the output Read more§fn default_value<O2>(self) -> DefaultValue<Self, I, O, O2, E>
fn default_value<O2>(self) -> DefaultValue<Self, I, O, O2, E>
Produce a type’s default value Read more
§fn output_into<O2>(self) -> OutputInto<Self, I, O, O2, E>
fn output_into<O2>(self) -> OutputInto<Self, I, O, O2, E>
Convert the parser’s output to another type using
std::convert::From
Read more§fn recognize(self) -> Recognize<Self, I, O, E>where
Self: Sized,
I: Stream,
fn recognize(self) -> Recognize<Self, I, O, E>where
Self: Sized,
I: Stream,
Produce the consumed input as produced value. Read more
§fn with_recognized(self) -> WithRecognized<Self, I, O, E>where
Self: Sized,
I: Stream,
fn with_recognized(self) -> WithRecognized<Self, I, O, E>where
Self: Sized,
I: Stream,
Produce the consumed input with the output Read more
§fn map<G, O2>(self, map: G) -> Map<Self, G, I, O, O2, E>
fn map<G, O2>(self, map: G) -> Map<Self, G, I, O, O2, E>
Maps a function over the output of a parser Read more
§fn try_map<G, O2, E2>(self, map: G) -> TryMap<Self, G, I, O, O2, E, E2>
fn try_map<G, O2, E2>(self, map: G) -> TryMap<Self, G, I, O, O2, E, E2>
Applies a function returning a
Result
over the output of a parser. Read more§fn verify_map<G, O2>(self, map: G) -> VerifyMap<Self, G, I, O, O2, E>
fn verify_map<G, O2>(self, map: G) -> VerifyMap<Self, G, I, O, O2, E>
§fn flat_map<G, H, O2>(self, map: G) -> FlatMap<Self, G, H, I, O, O2, E>
fn flat_map<G, H, O2>(self, map: G) -> FlatMap<Self, G, H, I, O, O2, E>
Creates a parser from the output of this one Read more
§fn parse_to<O2>(self) -> ParseTo<Self, I, O, O2, E>where
Self: Sized,
I: Stream,
O: ParseSlice<O2>,
E: ParserError<I>,
fn parse_to<O2>(self) -> ParseTo<Self, I, O, O2, E>where
Self: Sized,
I: Stream,
O: ParseSlice<O2>,
E: ParserError<I>,
Apply
std::str::FromStr
to the output of the parser Read more§fn verify<G, O2>(self, filter: G) -> Verify<Self, G, I, O, O2, E>
fn verify<G, O2>(self, filter: G) -> Verify<Self, G, I, O, O2, E>
Returns the output of the child parser if it satisfies a verification function. Read more
§fn context<C>(self, context: C) -> Context<Self, I, O, E, C>
fn context<C>(self, context: C) -> Context<Self, I, O, E, C>
If parsing fails, add context to the error Read more
§fn complete_err(self) -> CompleteErr<Self>where
Self: Sized,
fn complete_err(self) -> CompleteErr<Self>where
Self: Sized,
Transforms [
Incomplete
][crate::error::ErrMode::Incomplete] into [Backtrack
][crate::error::ErrMode::Backtrack] Read more§fn err_into<E2>(self) -> ErrInto<Self, I, O, E, E2>
fn err_into<E2>(self) -> ErrInto<Self, I, O, E, E2>
Convert the parser’s error to another type using
std::convert::From
source§impl PartialOrd for Keyword
impl PartialOrd for Keyword
impl Copy for Keyword
impl Eq for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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