Struct parquet::file::metadata::FileMetaData [−][src]
pub struct FileMetaData { /* fields omitted */ }Metadata for a Parquet file.
Methods
impl FileMetaData[src]
impl FileMetaDatapub fn new(
version: i32,
num_rows: i64,
created_by: Option<String>,
schema: TypePtr,
schema_descr: SchemaDescPtr
) -> Self[src]
pub fn new(
version: i32,
num_rows: i64,
created_by: Option<String>,
schema: TypePtr,
schema_descr: SchemaDescPtr
) -> SelfCreates new file metadata.
pub fn version(&self) -> i32[src]
pub fn version(&self) -> i32Returns version of this file.
pub fn num_rows(&self) -> i64[src]
pub fn num_rows(&self) -> i64Returns number of rows in the file.
pub fn created_by(&self) -> &Option<String>[src]
pub fn created_by(&self) -> &Option<String>String message for application that wrote this file.
This should have the following format:
<application> version <application version> (build <application build hash>).
parquet-mr version 1.8.0 (build 0fda28af84b9746396014ad6a415b90592a98b3b)
pub fn schema(&self) -> &SchemaType[src]
pub fn schema(&self) -> &SchemaTypeReturns Parquet ['Type`] that describes schema in this file.
pub fn schema_descr(&self) -> &SchemaDescriptor[src]
pub fn schema_descr(&self) -> &SchemaDescriptorReturns a reference to schema descriptor.
pub fn schema_descr_ptr(&self) -> SchemaDescPtr[src]
pub fn schema_descr_ptr(&self) -> SchemaDescPtrReturns reference counted clone for schema descriptor.
Auto Trait Implementations
impl !Send for FileMetaData
impl !Send for FileMetaDataimpl !Sync for FileMetaData
impl !Sync for FileMetaData