toColumnStatisticsType method
Implementation
ColumnStatisticsType toColumnStatisticsType() {
switch (this) {
case 'BOOLEAN':
return ColumnStatisticsType.boolean;
case 'DATE':
return ColumnStatisticsType.date;
case 'DECIMAL':
return ColumnStatisticsType.decimal;
case 'DOUBLE':
return ColumnStatisticsType.double;
case 'LONG':
return ColumnStatisticsType.long;
case 'STRING':
return ColumnStatisticsType.string;
case 'BINARY':
return ColumnStatisticsType.binary;
}
throw Exception('$this is not known in enum ColumnStatisticsType');
}