toAthenaResultFormat method
Implementation
AthenaResultFormat toAthenaResultFormat() {
switch (this) {
case 'PARQUET':
return AthenaResultFormat.parquet;
case 'ORC':
return AthenaResultFormat.orc;
case 'AVRO':
return AthenaResultFormat.avro;
case 'JSON':
return AthenaResultFormat.json;
case 'TEXTFILE':
return AthenaResultFormat.textfile;
}
throw Exception('$this is not known in enum AthenaResultFormat');
}