pub struct DFSchema { /* private fields */ }
Expand description

DFSchema wraps an Arrow schema and adds relation names

Implementations

Creates an empty DFSchema

Create a new DFSchema

Create a DFSchema from an Arrow schema

Combine two schemas

Merge a schema into self

Get a list of fields

Returns an immutable reference of a specific Field instance selected using an offset within the internal fields vector

Find the index of the column with the given unqualified name

Find the index of the column with the given qualifier and name

Find the field with the given name

Find all fields match the given name

Find the field with the given name

Find the field with the given qualified name

Find the field with the given qualified column

Check to see if unqualified field names matches field names in Arrow schema

Strip all field qualifier in schema

Replace all field qualifier with new value in schema

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

Is this column reference nullable?

What is the datatype of this column?

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

This method tests for !=.

Create a DFSchema from an Arrow schema

The type returned in the event of a conversion error.

Performs the conversion.

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

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

Should always be Self

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.