Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::sql::parser::DFASTNode - Rust
[go: Go Back, main page]

[][src]Enum datafusion::sql::parser::DFASTNode

pub enum DFASTNode {
    ANSI(ASTNode),
    CreateExternalTable {
        name: String,
        columns: Vec<SQLColumnDef>,
        file_type: FileType,
        header_row: bool,
        location: String,
    },
}

DataFrame AST Node representations.

Tokens parsed by DFParser are converted into these values.

Variants

ANSI(ASTNode)

ANSI SQL AST node

CreateExternalTable

DDL for creating an external table in DataFusion

Fields of CreateExternalTable

name: String

Table name

columns: Vec<SQLColumnDef>

Optional schema

file_type: FileType

File type (Parquet, NDJSON, CSV)

header_row: bool

Header row?

location: String

Path to file

Trait Implementations

impl Clone for DFASTNode[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DFASTNode[src]

Auto Trait Implementations

impl Send for DFASTNode

impl Sync for DFASTNode

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> FromCast for T

impl<T, U> Cast for T where
    U: FromCast<T>, 

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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