pub struct SystemVars {
Show 23 fields config_has_synced_once: SystemVar<bool>, max_aws_privatelink_connections: SystemVar<u32>, max_tables: SystemVar<u32>, max_sources: SystemVar<u32>, max_sinks: SystemVar<u32>, max_materialized_views: SystemVar<u32>, max_clusters: SystemVar<u32>, max_replicas_per_cluster: SystemVar<u32>, max_databases: SystemVar<u32>, max_schemas_per_database: SystemVar<u32>, max_objects_per_schema: SystemVar<u32>, max_secrets: SystemVar<u32>, max_roles: SystemVar<u32>, max_result_size: SystemVar<u32>, allowed_cluster_replica_sizes: SystemVar<Vec<Ident>>, enable_with_mutually_recursive: SystemVar<bool>, persist_blob_target_size: SystemVar<usize>, persist_compaction_minimum_timeout: SystemVar<Duration>, persist_sink_minimum_batch_updates: SystemVar<usize>, crdb_connect_timeout: SystemVar<Duration>, dataflow_max_inflight_bytes: SystemVar<usize>, metrics_retention: SystemVar<Duration>, mock_audit_event_timestamp: SystemVar<Option<Timestamp>>,
}
Expand description

On disk variables.

See SessionVars for more details on the Materialize configuration model.

Fields§

§config_has_synced_once: SystemVar<bool>§max_aws_privatelink_connections: SystemVar<u32>§max_tables: SystemVar<u32>§max_sources: SystemVar<u32>§max_sinks: SystemVar<u32>§max_materialized_views: SystemVar<u32>§max_clusters: SystemVar<u32>§max_replicas_per_cluster: SystemVar<u32>§max_databases: SystemVar<u32>§max_schemas_per_database: SystemVar<u32>§max_objects_per_schema: SystemVar<u32>§max_secrets: SystemVar<u32>§max_roles: SystemVar<u32>§max_result_size: SystemVar<u32>§allowed_cluster_replica_sizes: SystemVar<Vec<Ident>>§enable_with_mutually_recursive: SystemVar<bool>§persist_blob_target_size: SystemVar<usize>§persist_compaction_minimum_timeout: SystemVar<Duration>§persist_sink_minimum_batch_updates: SystemVar<usize>§crdb_connect_timeout: SystemVar<Duration>§dataflow_max_inflight_bytes: SystemVar<usize>§metrics_retention: SystemVar<Duration>§mock_audit_event_timestamp: SystemVar<Option<Timestamp>>

Implementations§

Returns an iterator over the configuration parameters and their current values on disk.

Returns an iterator over the configuration parameters and their current values on disk. Compared to SystemVars::iter, this should omit vars that shouldn’t be synced by crate::config::SystemParameterFrontend.

Returns a Var representing the configuration parameter with the specified name.

Configuration parameters are matched case insensitively. If no such configuration parameter exists, get returns an error.

Note that if name is known at compile time, you should instead use the named accessor to access the variable with its true Rust type. For example, self.get("max_tables").value() returns the string "25" or the current value, while self.max_tables() returns an i32.

Errors

The call will return an error:

  1. If name does not refer to a valid SystemVars field.

Check if the given values is the default value for the Var identified by name.

Errors

The call will return an error:

  1. If name does not refer to a valid SystemVars field.
  2. If values does not represent a valid SystemVars value for name.

Sets the configuration parameter named name to the value represented by value.

Like with SystemVars::get, configuration parameters are matched case insensitively. If value is not valid, as determined by the underlying configuration parameter, or if the named configuration parameter does not exist, an error is returned.

Return a bool value indicating whether the Var identified by name was modified by this call (it won’t be if it already had the given value).

Errors

The call will return an error:

  1. If name does not refer to a valid SystemVars field.
  2. If value does not represent a valid SystemVars value for name.

Sets the configuration parameter named name to its default value.

Like with SystemVars::get, configuration parameters are matched case insensitively. If the named configuration parameter does not exist, an error is returned.

Return a bool value indicating whether the Var identified by name was modified by this call (it won’t be if was already reset).

Errors

The call will return an error:

  1. If name does not refer to a valid SystemVars field.

Returns the config_has_synced_once configuration parameter.

Returns the value of the max_aws_privatelink_connections configuration parameter.

Returns the value of the max_tables configuration parameter.

Returns the value of the max_sources configuration parameter.

Returns the value of the max_sinks configuration parameter.

Returns the value of the max_materialized_views configuration parameter.

Returns the value of the max_clusters configuration parameter.

Returns the value of the max_replicas_per_cluster configuration parameter.

Returns the value of the max_databases configuration parameter.

Returns the value of the max_schemas_per_database configuration parameter.

Returns the value of the max_objects_per_schema configuration parameter.

Returns the value of the max_secrets configuration parameter.

Returns the value of the max_roles configuration parameter.

Returns the value of the max_result_size configuration parameter.

Returns the value of the allowed_cluster_replica_sizes configuration parameter.

Returns the persist_blob_target_size configuration parameter.

Returns the persist_compaction_minimum_timeout configuration parameter.

Returns the crdb_connect_timeout configuration parameter.

Returns the dataflow_max_inflight_bytes configuration parameter.

Returns the persist_sink_minimum_batch_updates configuration parameter.

Returns the metrics_retention configuration parameter.

Returns the mock_audit_event_timestamp configuration parameter.

Returns the enable_with_mutually_recursive configuration parameter.

Sets the enable_with_mutually_recursive configuration parameter.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Converts to this type from a reference to the input type.
Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Attaches the current Context to this type, returning a WithContext wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Upcasts this ProgressEventTimestamp to Any. Read more
Returns the name of the concrete type of this object. Read more
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more