toDatePartitionDelimiterValue method

DatePartitionDelimiterValue toDatePartitionDelimiterValue()

Implementation

DatePartitionDelimiterValue toDatePartitionDelimiterValue() {
  switch (this) {
    case 'SLASH':
      return DatePartitionDelimiterValue.slash;
    case 'UNDERSCORE':
      return DatePartitionDelimiterValue.underscore;
    case 'DASH':
      return DatePartitionDelimiterValue.dash;
    case 'NONE':
      return DatePartitionDelimiterValue.none;
  }
  throw Exception('$this is not known in enum DatePartitionDelimiterValue');
}