risingwave_common::types

Module interval

source

Modulesยง

  • A separate mod so that use types::* or use interval::* does not use IntervalTestExt by accident.

Structsยง

Enumsยง

Constantsยง

Functionsยง

  • convert_digit ๐Ÿ”’
  • convert_hms ๐Ÿ”’
    convert hour_min_sec format e.g. c = [โ€œ1โ€, โ€œ2โ€, โ€œ3โ€], c will be convert to: [TimeStrToken::Num(1), TimeStrToken::TimeUnit(DateTimeField::Hour), TimeStrToken::Num(2), TimeStrToken::TimeUnit(DateTimeField::Minute), TimeStrToken::Second("3"), TimeStrToken::TimeUnit(DateTimeField::Second)]
  • convert_unit ๐Ÿ”’
  • parse_interval ๐Ÿ”’

Type Aliasesยง