export function getInputTypeFromDisplayedName()

in src/Explorer/Tables/Utilities.ts [198:216]


export function getInputTypeFromDisplayedName(displayedName: string): string {
  switch (displayedName) {
    case Constants.TableType.DateTime:
      return Constants.InputType.DateTime;
    case Constants.TableType.Int32:
    case Constants.TableType.Int64:
    case Constants.TableType.Double:
    case Constants.CassandraType.Bigint:
    case Constants.CassandraType.Decimal:
    case Constants.CassandraType.Double:
    case Constants.CassandraType.Float:
    case Constants.CassandraType.Int:
    case Constants.CassandraType.Smallint:
    case Constants.CassandraType.Tinyint:
      return Constants.InputType.Number;
    default:
      return Constants.InputType.Text;
  }
}