ParquetSerDe.fromJson constructor

ParquetSerDe.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ParquetSerDe.fromJson(Map<String, dynamic> json) {
  return ParquetSerDe(
    blockSizeBytes: json['BlockSizeBytes'] as int?,
    compression: (json['Compression'] as String?)?.toParquetCompression(),
    enableDictionaryCompression: json['EnableDictionaryCompression'] as bool?,
    maxPaddingBytes: json['MaxPaddingBytes'] as int?,
    pageSizeBytes: json['PageSizeBytes'] as int?,
    writerVersion:
        (json['WriterVersion'] as String?)?.toParquetWriterVersion(),
  );
}