Skip to main content

Module types

Module types 

Source

Re-exportsΒ§

pub use self::error::PgErrorCode;
pub use self::error::PgErrorSeverity;

ModulesΒ§

error πŸ”’

StructsΒ§

OidAliasError πŸ”’
OidAliasValue πŸ”’
RecordBatchRowStream πŸ”’

StaticsΒ§

REGPROC_OIDS πŸ”’
OIDs keyed by their unambiguous pg_proc.proname in the static catalog.

FunctionsΒ§

checked_cast πŸ”’
Converts a numeric value, rejecting one the target type cannot hold.
encode_struct πŸ”’
this function will encode greptime’s structured values (StructValue, or a list of them) into PostgreSQL jsonb type
encode_structured_json πŸ”’
Encodes one row of a structured column (Struct, or List of Struct) as a PostgreSQL json value.
float_parameter πŸ”’
Converts a float parameter to an integer or float server type. Without a server type, the value keeps the client’s width.
format_options_from_query_ctx
int_parameter πŸ”’
Converts an integer parameter to an integer or timestamp server type. Without a server type, the value keeps the client’s width.
invalid_parameter_error πŸ”’
list_parameter πŸ”’
numeric_out_of_range_error πŸ”’
param_types_to_pg_types πŸ”’
parameter_type_mismatch πŸ”’
parameters_to_scalar_values πŸ”’
pg_oid_alias_type πŸ”’
Maps datafusion-pg-catalog OID-alias metadata to PostgreSQL wire types.
pg_oid_alias_type_name πŸ”’
resolve_oid_alias πŸ”’
schema_to_pg πŸ”’
string_parameter_to_scalar_value πŸ”’
timestamp_array_parameter πŸ”’
timestamp_parameter πŸ”’
Converts a timestamp parameter to the unit of its server column, or to milliseconds when the column type is unknown.
timestamp_scalar πŸ”’
to_decimal_scalar_value πŸ”’
to_integer_scalar πŸ”’
Converts a numeric parameter to an integer server type, or returns None for other types.
to_timestamp_scalar_value πŸ”’
type_gt_to_pg πŸ”’
uint64_list_parameter πŸ”’