Repetition

Type Alias Repetition 

Source
pub type Repetition = FieldRepetitionType;
Expand description

Type alias for thrift FieldRepetitionType

Aliased Type§

pub enum Repetition {
    REQUIRED = 0,
    OPTIONAL = 1,
    REPEATED = 2,
}

Variants§

§

REQUIRED = 0

This field is required (can not be null) and each row has exactly 1 value.

§

OPTIONAL = 1

The field is optional (can be null) and each row has 0 or 1 values.

§

REPEATED = 2

The field is repeated and can contain 0 or more values.

Trait Implementations§

Source§

impl FromStr for Repetition

Source§

type Err = ParquetError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self>

Parses a string s to return a value of this type. Read more