[][src]Struct datafusion::dfparser::DFParser

pub struct DFParser { /* fields omitted */ }

SQL Parser

Methods

impl DFParser
[src]

pub fn new(sql: String) -> Result<Self, ParserError>
[src]

Parse the specified tokens

pub fn parse_sql(sql: String) -> Result<DFASTNode, ParserError>
[src]

Parse a SQL statement and produce an Abstract Syntax Tree (AST)

pub fn parse(&mut self) -> Result<DFASTNode, ParserError>
[src]

Parse a new expression

pub fn parse_infix(
    &mut self,
    _expr: DFASTNode,
    _precedence: u8
) -> Result<Option<DFASTNode>, ParserError>
[src]

Auto Trait Implementations

impl Send for DFParser

impl Sync for DFParser

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]