pub enum Token {
Show 207 variants
Select,
From,
Where,
And,
Or,
Not,
Match,
Return,
Join,
Graph,
Path,
To,
Via,
On,
As,
Is,
Null,
Between,
Like,
In,
Order,
By,
Asc,
Desc,
Nulls,
First,
Last,
Limit,
Offset,
Inner,
Left,
Right,
Outer,
Full,
Cross,
Starts,
Ends,
With,
Contains,
True,
False,
Enrich,
Group,
Count,
Sum,
Avg,
Min,
Max,
Distinct,
Vector,
Search,
Similar,
Collection,
Metric,
Threshold,
K,
Hybrid,
Fusion,
Rerank,
Rrf,
Intersection,
Union,
Recursive,
All,
Weight,
L2,
Cosine,
InnerProduct,
Include,
Metadata,
Vectors,
Insert,
Into,
Values,
Update,
Set,
Delete,
Truncate,
Create,
Table,
Drop,
Alter,
Add,
Column,
Primary,
Explain,
For,
Format,
Json,
Key,
Default,
Compress,
Index,
Unique,
If,
Exists,
Returning,
Cascade,
Rename,
Using,
Node,
Edge,
Document,
Kv,
Timeseries,
Retention,
Queue,
Tree,
Push,
Pop,
Peek,
Purge,
Ack,
Nack,
Priority,
Neighborhood,
ShortestPath,
Centrality,
Community,
Components,
Cycles,
Traverse,
Depth,
Direction,
Algorithm,
Strategy,
MaxIterations,
MaxLength,
Mode,
Clustering,
TopologicalSort,
Properties,
Text,
Fuzzy,
MinScore,
Begin,
Commit,
Rollback,
Savepoint,
Release,
Start,
Transaction,
Work,
Vacuum,
Analyze,
Schema,
Sequence,
Increment,
Copy,
Header,
Delimiter,
View,
Materialized,
Refresh,
Partition,
Range,
List,
Hash,
Attach,
Detach,
Of,
Policy,
Enable,
Disable,
Security,
Row,
Level,
Foreign,
Server,
Wrapper,
Options,
Data,
String(String),
Integer(i64),
Float(f64),
JsonLiteral(String),
Ident(String),
Eq,
Ne,
Lt,
Le,
Gt,
Ge,
Plus,
Minus,
Star,
Slash,
Percent,
LParen,
RParen,
LBracket,
RBracket,
LBrace,
RBrace,
Comma,
Dot,
Colon,
Semi,
Dollar,
Question,
Arrow,
ArrowLeft,
Dash,
DotDot,
Pipe,
DoublePipe,
Eof,
}Expand description
Token types for RQL
Variants§
Select
From
Where
And
Or
Not
Match
Return
Join
Graph
Path
To
Via
On
As
Is
Null
Between
Like
In
Order
By
Asc
Desc
Nulls
First
Last
Limit
Offset
Inner
Left
Right
Outer
Full
Cross
Starts
Ends
With
Contains
True
False
Enrich
Group
Count
Sum
Avg
Min
Max
Distinct
Vector
Search
Similar
Collection
Metric
Threshold
K
Hybrid
Fusion
Rerank
Rrf
Intersection
Union
Recursive
All
Weight
L2
Cosine
InnerProduct
Include
Metadata
Vectors
Insert
Into
Values
Update
Set
Delete
Truncate
Create
Table
Drop
Alter
Add
Column
Primary
Explain
For
Format
Json
Key
Default
Compress
Index
Unique
If
Exists
Returning
Cascade
Rename
Using
Node
Edge
Document
Kv
Timeseries
Retention
Queue
Tree
Push
Pop
Peek
Purge
Ack
Nack
Priority
Neighborhood
ShortestPath
Centrality
Community
Components
Cycles
Traverse
Depth
Direction
Algorithm
Strategy
MaxIterations
MaxLength
Mode
Clustering
TopologicalSort
Properties
Text
Fuzzy
MinScore
Begin
Commit
Rollback
Savepoint
Release
Start
Transaction
Work
Vacuum
Analyze
Schema
Sequence
Increment
Copy
Header
Delimiter
View
Materialized
Refresh
Partition
Range
List
Hash
Attach
Detach
Of
Policy
Enable
Disable
Security
Row
Level
Foreign
Server
Wrapper
Options
Data
String(String)
Integer(i64)
Float(f64)
JsonLiteral(String)
Raw JSON object literal text — produced when the lexer enters JSON
sub-mode at a { whose first non-whitespace inner char is ",
signalling a standard JSON object. The String holds the verbatim
{...} text, including the enclosing braces. The parser hands it
to parse_json to materialise a Value::Json. See issue #86.
Ident(String)
Eq
Ne
Lt
Le
Gt
Ge
Plus
Minus
Star
Slash
Percent
LParen
RParen
LBracket
RBracket
LBrace
RBrace
Comma
Dot
Colon
Semi
Dollar
Question
Arrow
ArrowLeft
Dash
DotDot
Pipe
DoublePipe
Eof
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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§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> 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 moreSource§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