toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConsistencyLevel.serializable:
      return 'SERIALIZABLE';
    case ConsistencyLevel.eventual:
      return 'EVENTUAL';
  }
}