OrcSerDe.fromJson constructor
OrcSerDe.fromJson(
- Map<String, dynamic> json
)
Implementation
factory OrcSerDe.fromJson(Map<String, dynamic> json) {
return OrcSerDe(
blockSizeBytes: json['BlockSizeBytes'] as int?,
bloomFilterColumns: (json['BloomFilterColumns'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
bloomFilterFalsePositiveProbability:
json['BloomFilterFalsePositiveProbability'] as double?,
compression: (json['Compression'] as String?)?.toOrcCompression(),
dictionaryKeyThreshold: json['DictionaryKeyThreshold'] as double?,
enablePadding: json['EnablePadding'] as bool?,
formatVersion: (json['FormatVersion'] as String?)?.toOrcFormatVersion(),
paddingTolerance: json['PaddingTolerance'] as double?,
rowIndexStride: json['RowIndexStride'] as int?,
stripeSizeBytes: json['StripeSizeBytes'] as int?,
);
}