toAthenaResultCompressionType method

AthenaResultCompressionType toAthenaResultCompressionType()

Implementation

AthenaResultCompressionType toAthenaResultCompressionType() {
  switch (this) {
    case 'GZIP':
      return AthenaResultCompressionType.gzip;
    case 'SNAPPY':
      return AthenaResultCompressionType.snappy;
    case 'ZLIB':
      return AthenaResultCompressionType.zlib;
  }
  throw Exception('$this is not known in enum AthenaResultCompressionType');
}