toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ColumnStatisticsType.boolean:
      return 'BOOLEAN';
    case ColumnStatisticsType.date:
      return 'DATE';
    case ColumnStatisticsType.decimal:
      return 'DECIMAL';
    case ColumnStatisticsType.double:
      return 'DOUBLE';
    case ColumnStatisticsType.long:
      return 'LONG';
    case ColumnStatisticsType.string:
      return 'STRING';
    case ColumnStatisticsType.binary:
      return 'BINARY';
  }
}