Expand description
The intermediate representation
Modulesยง
- alter_
expr ๐ - create_
expr ๐ - insert_
expr ๐ - select_
expr ๐
Macrosยง
- generate_
values ๐ - FIXME(weny): Waits for https://github.com/GreptimeTeam/greptimedb/issues/4247
Structsยง
- Alter
Table Expr - Column
- The IR column.
- Column
Builder - Builder for
Column
. - Column
Type Generator - Create
Database Expr - Create
Table Expr - A naive create table expr builder.
- DATA_
TYPES - Ident
- An identifier.
- Insert
Into Expr - MYSQL_
TS_ DATA_ TYPES - MySQL
TsColumn Type Generator - PARTIBLE_
DATA_ TYPES - Partible
Column Type Generator - STRING_
DATA_ TYPES - String
Column Type Generator - TS_
DATA_ TYPES - TsColumn
Type Generator
Enumsยง
- Alter
Table Option - Column
Builder Error - Error type for ColumnBuilder
Functionsยง
- column_
options_ generator - Generates ColumnOption for Column.
- droppable_
columns - Returns droppable columns. i.e., non-primary key columns, non-ts columns.
- format_
columns - Formats a slice of columns into a comma-separated string of column names.
- generate_
columns - Generates columns with given
names
. - generate_
partition_ bounds - Generates partition bounds.
- generate_
random_ ๐date - generate_
random_ timestamp - Generate random timestamps.
- generate_
random_ timestamp_ for_ mysql - generate_
random_ value - Generates a random Value.
- generate_
unique_ timestamp_ for_ mysql - Generate monotonically increasing timestamps for MySQL.
- modifiable_
columns - Returns columns that can use the alter table modify command
- partible_
column_ options_ generator - Generates ColumnOption for Partible Column.
- primary_
key_ and_ not_ null_ column_ options_ generator - primary_
key_ options_ generator - replace_
default - Replace Value::Default with the corresponding default value in the rows for comparison.
- sort_
by_ primary_ keys - Sorts a vector of rows based on the values in the specified primary key columns.
- ts_
column_ options_ generator - Generates ColumnOption for ts Column.