toParquetWriterVersion method

ParquetWriterVersion toParquetWriterVersion()

Implementation

ParquetWriterVersion toParquetWriterVersion() {
  switch (this) {
    case 'V1':
      return ParquetWriterVersion.v1;
    case 'V2':
      return ParquetWriterVersion.v2;
  }
  throw Exception('$this is not known in enum ParquetWriterVersion');
}