toParquetCompression method

ParquetCompression toParquetCompression()

Implementation

ParquetCompression toParquetCompression() {
  switch (this) {
    case 'UNCOMPRESSED':
      return ParquetCompression.uncompressed;
    case 'GZIP':
      return ParquetCompression.gzip;
    case 'SNAPPY':
      return ParquetCompression.snappy;
  }
  throw Exception('$this is not known in enum ParquetCompression');
}