common_primitives/parquet/base.rs
1use serde::{Deserialize, Serialize};
2
3/// Base types
4#[derive(Clone, PartialEq, Debug, Eq, Serialize, Deserialize)]
5#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
6pub enum ParquetBaseType {
7 /// Encapsulates true / false values
8 Boolean,
9 /// Encapsulates 32 bit ints
10 Int32,
11 /// Encapsulates 64 bit ints
12 Int64,
13 /// Encapsulates floats
14 Float,
15 /// Encapsulates doubles
16 Double,
17 /// Encapsulates arrays
18 ByteArray,
19 /// Encapsulates fixed length arrays
20 FixedLenByteArray,
21}