pub struct SessionConfig {Show 49 fields
implicit_flush: bool,
create_compaction_group_for_mv: bool,
query_mode: QueryMode,
extra_float_digits: i32,
application_name: String,
date_style: String,
batch_enable_lookup_join: bool,
batch_enable_sort_agg: bool,
batch_enable_distributed_dml: bool,
max_split_range_gap: i32,
search_path: SearchPath,
visibility_mode: VisibilityMode,
transaction_isolation: IsolationLevel,
query_epoch: ConfigNonZeroU64,
timezone: String,
streaming_parallelism: ConfigNonZeroU64,
streaming_enable_delta_join: bool,
streaming_enable_bushy_join: bool,
streaming_use_arrangement_backfill: bool,
streaming_use_snapshot_backfill: bool,
streaming_allow_jsonb_in_stream_key: bool,
enable_join_ordering: bool,
enable_two_phase_agg: bool,
force_two_phase_agg: bool,
enable_share_plan: bool,
force_split_distinct_agg: bool,
interval_style: String,
batch_parallelism: ConfigNonZeroU64,
server_version: String,
server_version_num: i32,
client_min_messages: String,
client_encoding: String,
sink_decouple: SinkDecouple,
synchronize_seqscans: bool,
statement_timeout: u32,
idle_in_transaction_session_timeout: u32,
lock_timeout: i32,
cdc_source_wait_streaming_start_timeout: i32,
row_security: bool,
standard_conforming_strings: String,
backfill_rate_limit: i32,
source_rate_limit: i32,
streaming_over_window_cache_policy: OverWindowCachePolicy,
background_ddl: bool,
streaming_use_shared_source: bool,
server_encoding: String,
bytea_output: String,
bypass_cluster_limits: bool,
streaming_max_parallelism: usize,
}
Expand description
This is the Session Config of RisingWave.
Fields§
§implicit_flush: bool
If RW_IMPLICIT_FLUSH
is on, then every INSERT/UPDATE/DELETE statement will block
until the entire dataflow is refreshed. In other words, every related table & MV will
be able to see the write.
create_compaction_group_for_mv: bool
If CREATE_COMPACTION_GROUP_FOR_MV
is on, dedicated compaction groups will be created in
MV creation.
query_mode: QueryMode
A temporary config variable to force query running in either local or distributed mode. The default value is auto which means let the system decide to run batch queries in local or distributed mode automatically.
extra_float_digits: i32
Sets the number of digits displayed for floating-point values. See https://www.postgresql.org/docs/current/runtime-config-client.html#:~:text=for%20more%20information.-,extra_float_digits,-(integer)
application_name: String
Sets the application name to be reported in statistics and logs. See https://www.postgresql.org/docs/14/runtime-config-logging.html#:~:text=What%20to%20Log-,application_name,-(string)
date_style: String
It is typically set by an application upon connection to the server. see https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-DATESTYLE
batch_enable_lookup_join: bool
Force the use of lookup join instead of hash join when possible for local batch execution.
batch_enable_sort_agg: bool
Enable usage of sortAgg instead of hash agg when order property is satisfied in batch execution
batch_enable_distributed_dml: bool
Enable distributed DML, so an insert, delete, and update statement can be executed in a distributed way (e.g. running in multiple compute nodes). No atomicity guarantee in this mode. Its goal is to gain the best ingestion performance for initial batch ingestion where users always can drop their table when failure happens.
max_split_range_gap: i32
The max gap allowed to transform small range scan into multi point lookup.
search_path: SearchPath
Sets the order in which schemas are searched when an object (table, data type, function, etc.) is referenced by a simple name with no schema specified. See https://www.postgresql.org/docs/14/runtime-config-client.html#GUC-SEARCH-PATH
visibility_mode: VisibilityMode
If VISIBILITY_MODE
is all, we will support querying data without checkpoint.
transaction_isolation: IsolationLevel
§query_epoch: ConfigNonZeroU64
Select as of specific epoch. Sets the historical epoch for querying data. If 0, querying latest data.
timezone: String
Session timezone. Defaults to UTC.
streaming_parallelism: ConfigNonZeroU64
The execution parallelism for streaming queries, including tables, materialized views, indexes, and sinks. Defaults to 0, which means they will be scheduled adaptively based on the cluster size.
If a non-zero value is set, streaming queries will be scheduled to use a fixed number of parallelism.
Note that the value will be bounded at STREAMING_MAX_PARALLELISM
.
streaming_enable_delta_join: bool
Enable delta join for streaming queries. Defaults to false.
streaming_enable_bushy_join: bool
Enable bushy join for streaming queries. Defaults to true.
streaming_use_arrangement_backfill: bool
Enable arrangement backfill for streaming queries. Defaults to true. When set to true, the parallelism of the upstream fragment will be decoupled from the parallelism of the downstream scan fragment. Or more generally, the parallelism of the upstream table / index / mv will be decoupled from the parallelism of the downstream table / index / mv / sink.
streaming_use_snapshot_backfill: bool
§streaming_allow_jsonb_in_stream_key: bool
Allow jsonb
in stream key
enable_join_ordering: bool
Enable join ordering for streaming and batch queries. Defaults to true.
enable_two_phase_agg: bool
Enable two phase agg optimization. Defaults to true.
Setting this to true will always set FORCE_TWO_PHASE_AGG
to false.
force_two_phase_agg: bool
Force two phase agg optimization whenever there’s a choice between
optimizations. Defaults to false.
Setting this to true will always set ENABLE_TWO_PHASE_AGG
to false.
Enable sharing of common sub-plans. This means that DAG structured query plans can be constructed, rather than only tree structured query plans.
force_split_distinct_agg: bool
Enable split distinct agg
interval_style: String
§batch_parallelism: ConfigNonZeroU64
If BATCH_PARALLELISM
is non-zero, batch queries will use this parallelism.
server_version: String
The version of PostgreSQL that Risingwave claims to be.
server_version_num: i32
The version of PostgreSQL that Risingwave claims to be.
client_min_messages: String
§client_encoding: String
§sink_decouple: SinkDecouple
Enable decoupling sink and internal streaming graph or not
synchronize_seqscans: bool
See https://www.postgresql.org/docs/current/runtime-config-compatible.html#RUNTIME-CONFIG-COMPATIBLE-VERSION Unused in RisingWave, support for compatibility.
statement_timeout: u32
Abort query statement that takes more than the specified amount of time in sec. If
log_min_error_statement
is set to ERROR or lower, the statement that timed out will also be
logged. If this value is specified without units, it is taken as milliseconds. A value of
zero (the default) disables the timeout.
idle_in_transaction_session_timeout: u32
Terminate any session that has been idle (that is, waiting for a client query) within an open transaction for longer than the specified amount of time in milliseconds.
lock_timeout: i32
See https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-LOCK-TIMEOUT Unused in RisingWave, support for compatibility.
cdc_source_wait_streaming_start_timeout: i32
For limiting the startup time of a shareable CDC streaming source when the source is being created. Unit: seconds.
row_security: bool
see https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-ROW-SECURITY. Unused in RisingWave, support for compatibility.
standard_conforming_strings: String
see https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-STANDARD-CONFORMING-STRINGS
backfill_rate_limit: i32
Set streaming rate limit (rows per second) for each parallelism for mv / source / sink backfilling If set to -1, disable rate limit. If set to 0, this pauses the snapshot read / source read.
source_rate_limit: i32
Set streaming rate limit (rows per second) for each parallelism for mv / source backfilling, source reads. If set to -1, disable rate limit. If set to 0, this pauses the snapshot read / source read.
streaming_over_window_cache_policy: OverWindowCachePolicy
Cache policy for partition cache in streaming over window.
Can be “full”, “recent”, “recent_first_n
” or “recent_last_n
”.
background_ddl: bool
Run DDL statements in background
Enable shared source. Currently only for Kafka.
When enabled, CREATE SOURCE
will create a source streaming job, and CREATE MATERIALIZED VIEWS
from the source
will forward the data from the same source streaming job, and also backfill prior data from the external source.
server_encoding: String
Shows the server-side character set encoding. At present, this parameter can be shown but not set, because the encoding is determined at database creation time.
bytea_output: String
§bypass_cluster_limits: bool
Bypass checks on cluster limits
When enabled, CREATE MATERIALIZED VIEW
will not fail if the cluster limit is hit.
streaming_max_parallelism: usize
The maximum number of parallelism a streaming query can use. Defaults to 256.
Compared to STREAMING_PARALLELISM
, which configures the initial parallelism, this configures
the maximum parallelism a streaming query can use in the future, if the cluster size changes or
users manually change the parallelism with ALTER .. SET PARALLELISM
.
It’s not always a good idea to set this to a very large number, as it may cause performance degradation when performing range scans on the table or the materialized view.
Implementations§
source§impl SessionConfig
impl SessionConfig
fn new() -> Self
pub fn alias_to_entry_name(key_name: &str) -> String
sourcepub fn implicit_flush_str(&self) -> String
pub fn implicit_flush_str(&self) -> String
Get a value string of parameter stringify! (implicit_flush)
sourcepub fn implicit_flush(&self) -> bool
pub fn implicit_flush(&self) -> bool
Get a typed value of parameter stringify! (implicit_flush)
sourcepub fn create_compaction_group_for_mv_str(&self) -> String
pub fn create_compaction_group_for_mv_str(&self) -> String
Get a value string of parameter stringify! (create_compaction_group_for_mv)
sourcepub fn create_compaction_group_for_mv(&self) -> bool
pub fn create_compaction_group_for_mv(&self) -> bool
Get a typed value of parameter stringify! (create_compaction_group_for_mv)
sourcepub fn query_mode_str(&self) -> String
pub fn query_mode_str(&self) -> String
Get a value string of parameter stringify! (query_mode)
sourcepub fn query_mode(&self) -> QueryMode
pub fn query_mode(&self) -> QueryMode
Get a typed value of parameter stringify! (query_mode)
sourcepub fn extra_float_digits_str(&self) -> String
pub fn extra_float_digits_str(&self) -> String
Get a value string of parameter stringify! (extra_float_digits)
sourcepub fn extra_float_digits(&self) -> i32
pub fn extra_float_digits(&self) -> i32
Get a typed value of parameter stringify! (extra_float_digits)
sourcepub fn application_name_str(&self) -> String
pub fn application_name_str(&self) -> String
Get a value string of parameter stringify! (application_name)
sourcepub fn application_name(&self) -> String
pub fn application_name(&self) -> String
Get a typed value of parameter stringify! (application_name)
sourcepub fn date_style_str(&self) -> String
pub fn date_style_str(&self) -> String
Get a value string of parameter “datestyle”
sourcepub fn date_style(&self) -> String
pub fn date_style(&self) -> String
Get a typed value of parameter “datestyle”
sourcepub fn batch_enable_lookup_join_str(&self) -> String
pub fn batch_enable_lookup_join_str(&self) -> String
Get a value string of parameter stringify! (batch_enable_lookup_join)
sourcepub fn batch_enable_lookup_join(&self) -> bool
pub fn batch_enable_lookup_join(&self) -> bool
Get a typed value of parameter stringify! (batch_enable_lookup_join)
sourcepub fn batch_enable_sort_agg_str(&self) -> String
pub fn batch_enable_sort_agg_str(&self) -> String
Get a value string of parameter stringify! (batch_enable_sort_agg)
sourcepub fn batch_enable_sort_agg(&self) -> bool
pub fn batch_enable_sort_agg(&self) -> bool
Get a typed value of parameter stringify! (batch_enable_sort_agg)
sourcepub fn batch_enable_distributed_dml_str(&self) -> String
pub fn batch_enable_distributed_dml_str(&self) -> String
Get a value string of parameter “batch_enable_distributed_dml”
sourcepub fn batch_enable_distributed_dml(&self) -> bool
pub fn batch_enable_distributed_dml(&self) -> bool
Get a typed value of parameter “batch_enable_distributed_dml”
sourcepub fn max_split_range_gap_str(&self) -> String
pub fn max_split_range_gap_str(&self) -> String
Get a value string of parameter stringify! (max_split_range_gap)
sourcepub fn max_split_range_gap(&self) -> i32
pub fn max_split_range_gap(&self) -> i32
Get a typed value of parameter stringify! (max_split_range_gap)
sourcepub fn search_path_str(&self) -> String
pub fn search_path_str(&self) -> String
Get a value string of parameter stringify! (search_path)
sourcepub fn search_path(&self) -> SearchPath
pub fn search_path(&self) -> SearchPath
Get a typed value of parameter stringify! (search_path)
sourcepub fn visibility_mode_str(&self) -> String
pub fn visibility_mode_str(&self) -> String
Get a value string of parameter stringify! (visibility_mode)
sourcepub fn visibility_mode(&self) -> VisibilityMode
pub fn visibility_mode(&self) -> VisibilityMode
Get a typed value of parameter stringify! (visibility_mode)
sourcepub fn transaction_isolation_str(&self) -> String
pub fn transaction_isolation_str(&self) -> String
Get a value string of parameter stringify! (transaction_isolation)
sourcepub fn transaction_isolation(&self) -> IsolationLevel
pub fn transaction_isolation(&self) -> IsolationLevel
Get a typed value of parameter stringify! (transaction_isolation)
sourcepub fn query_epoch_str(&self) -> String
pub fn query_epoch_str(&self) -> String
Get a value string of parameter stringify! (query_epoch)
sourcepub fn query_epoch(&self) -> ConfigNonZeroU64
pub fn query_epoch(&self) -> ConfigNonZeroU64
Get a typed value of parameter stringify! (query_epoch)
sourcepub fn timezone_str(&self) -> String
pub fn timezone_str(&self) -> String
Get a value string of parameter stringify! (timezone)
sourcepub fn streaming_parallelism_str(&self) -> String
pub fn streaming_parallelism_str(&self) -> String
Get a value string of parameter stringify! (streaming_parallelism)
sourcepub fn streaming_parallelism(&self) -> ConfigNonZeroU64
pub fn streaming_parallelism(&self) -> ConfigNonZeroU64
Get a typed value of parameter stringify! (streaming_parallelism)
sourcepub fn streaming_enable_delta_join_str(&self) -> String
pub fn streaming_enable_delta_join_str(&self) -> String
Get a value string of parameter stringify! (streaming_enable_delta_join)
sourcepub fn streaming_enable_delta_join(&self) -> bool
pub fn streaming_enable_delta_join(&self) -> bool
Get a typed value of parameter stringify! (streaming_enable_delta_join)
sourcepub fn streaming_enable_bushy_join_str(&self) -> String
pub fn streaming_enable_bushy_join_str(&self) -> String
Get a value string of parameter stringify! (streaming_enable_bushy_join)
sourcepub fn streaming_enable_bushy_join(&self) -> bool
pub fn streaming_enable_bushy_join(&self) -> bool
Get a typed value of parameter stringify! (streaming_enable_bushy_join)
sourcepub fn streaming_use_arrangement_backfill_str(&self) -> String
pub fn streaming_use_arrangement_backfill_str(&self) -> String
Get a value string of parameter stringify! (streaming_use_arrangement_backfill)
sourcepub fn streaming_use_arrangement_backfill(&self) -> bool
pub fn streaming_use_arrangement_backfill(&self) -> bool
Get a typed value of parameter stringify! (streaming_use_arrangement_backfill)
sourcepub fn streaming_use_snapshot_backfill_str(&self) -> String
pub fn streaming_use_snapshot_backfill_str(&self) -> String
Get a value string of parameter stringify! (streaming_use_snapshot_backfill)
sourcepub fn streaming_use_snapshot_backfill(&self) -> bool
pub fn streaming_use_snapshot_backfill(&self) -> bool
Get a typed value of parameter stringify! (streaming_use_snapshot_backfill)
sourcepub fn streaming_allow_jsonb_in_stream_key_str(&self) -> String
pub fn streaming_allow_jsonb_in_stream_key_str(&self) -> String
Get a value string of parameter stringify! (streaming_allow_jsonb_in_stream_key)
sourcepub fn streaming_allow_jsonb_in_stream_key(&self) -> bool
pub fn streaming_allow_jsonb_in_stream_key(&self) -> bool
Get a typed value of parameter stringify! (streaming_allow_jsonb_in_stream_key)
sourcepub fn enable_join_ordering_str(&self) -> String
pub fn enable_join_ordering_str(&self) -> String
Get a value string of parameter stringify! (enable_join_ordering)
sourcepub fn enable_join_ordering(&self) -> bool
pub fn enable_join_ordering(&self) -> bool
Get a typed value of parameter stringify! (enable_join_ordering)
sourcepub fn enable_two_phase_agg_str(&self) -> String
pub fn enable_two_phase_agg_str(&self) -> String
Get a value string of parameter stringify! (enable_two_phase_agg)
sourcepub fn enable_two_phase_agg(&self) -> bool
pub fn enable_two_phase_agg(&self) -> bool
Get a typed value of parameter stringify! (enable_two_phase_agg)
sourcepub fn force_two_phase_agg_str(&self) -> String
pub fn force_two_phase_agg_str(&self) -> String
Get a value string of parameter stringify! (force_two_phase_agg)
sourcepub fn force_two_phase_agg(&self) -> bool
pub fn force_two_phase_agg(&self) -> bool
Get a typed value of parameter stringify! (force_two_phase_agg)
Get a value string of parameter stringify! (enable_share_plan)
Get a typed value of parameter stringify! (enable_share_plan)
sourcepub fn force_split_distinct_agg_str(&self) -> String
pub fn force_split_distinct_agg_str(&self) -> String
Get a value string of parameter stringify! (force_split_distinct_agg)
sourcepub fn force_split_distinct_agg(&self) -> bool
pub fn force_split_distinct_agg(&self) -> bool
Get a typed value of parameter stringify! (force_split_distinct_agg)
sourcepub fn interval_style_str(&self) -> String
pub fn interval_style_str(&self) -> String
Get a value string of parameter “intervalstyle”
sourcepub fn interval_style(&self) -> String
pub fn interval_style(&self) -> String
Get a typed value of parameter “intervalstyle”
sourcepub fn batch_parallelism_str(&self) -> String
pub fn batch_parallelism_str(&self) -> String
Get a value string of parameter stringify! (batch_parallelism)
sourcepub fn batch_parallelism(&self) -> ConfigNonZeroU64
pub fn batch_parallelism(&self) -> ConfigNonZeroU64
Get a typed value of parameter stringify! (batch_parallelism)
sourcepub fn server_version_str(&self) -> String
pub fn server_version_str(&self) -> String
Get a value string of parameter stringify! (server_version)
sourcepub fn server_version(&self) -> String
pub fn server_version(&self) -> String
Get a typed value of parameter stringify! (server_version)
sourcepub fn server_version_num_str(&self) -> String
pub fn server_version_num_str(&self) -> String
Get a value string of parameter stringify! (server_version_num)
sourcepub fn server_version_num(&self) -> i32
pub fn server_version_num(&self) -> i32
Get a typed value of parameter stringify! (server_version_num)
sourcepub fn client_min_messages_str(&self) -> String
pub fn client_min_messages_str(&self) -> String
Get a value string of parameter stringify! (client_min_messages)
sourcepub fn client_min_messages(&self) -> String
pub fn client_min_messages(&self) -> String
Get a typed value of parameter stringify! (client_min_messages)
sourcepub fn client_encoding_str(&self) -> String
pub fn client_encoding_str(&self) -> String
Get a value string of parameter stringify! (client_encoding)
sourcepub fn client_encoding(&self) -> String
pub fn client_encoding(&self) -> String
Get a typed value of parameter stringify! (client_encoding)
sourcepub fn sink_decouple_str(&self) -> String
pub fn sink_decouple_str(&self) -> String
Get a value string of parameter stringify! (sink_decouple)
sourcepub fn sink_decouple(&self) -> SinkDecouple
pub fn sink_decouple(&self) -> SinkDecouple
Get a typed value of parameter stringify! (sink_decouple)
sourcepub fn synchronize_seqscans_str(&self) -> String
pub fn synchronize_seqscans_str(&self) -> String
Get a value string of parameter stringify! (synchronize_seqscans)
sourcepub fn synchronize_seqscans(&self) -> bool
pub fn synchronize_seqscans(&self) -> bool
Get a typed value of parameter stringify! (synchronize_seqscans)
sourcepub fn statement_timeout_str(&self) -> String
pub fn statement_timeout_str(&self) -> String
Get a value string of parameter stringify! (statement_timeout)
sourcepub fn statement_timeout(&self) -> u32
pub fn statement_timeout(&self) -> u32
Get a typed value of parameter stringify! (statement_timeout)
sourcepub fn idle_in_transaction_session_timeout_str(&self) -> String
pub fn idle_in_transaction_session_timeout_str(&self) -> String
Get a value string of parameter stringify! (idle_in_transaction_session_timeout)
sourcepub fn idle_in_transaction_session_timeout(&self) -> u32
pub fn idle_in_transaction_session_timeout(&self) -> u32
Get a typed value of parameter stringify! (idle_in_transaction_session_timeout)
sourcepub fn lock_timeout_str(&self) -> String
pub fn lock_timeout_str(&self) -> String
Get a value string of parameter stringify! (lock_timeout)
sourcepub fn lock_timeout(&self) -> i32
pub fn lock_timeout(&self) -> i32
Get a typed value of parameter stringify! (lock_timeout)
sourcepub fn cdc_source_wait_streaming_start_timeout_str(&self) -> String
pub fn cdc_source_wait_streaming_start_timeout_str(&self) -> String
Get a value string of parameter stringify! (cdc_source_wait_streaming_start_timeout)
sourcepub fn cdc_source_wait_streaming_start_timeout(&self) -> i32
pub fn cdc_source_wait_streaming_start_timeout(&self) -> i32
Get a typed value of parameter stringify! (cdc_source_wait_streaming_start_timeout)
sourcepub fn row_security_str(&self) -> String
pub fn row_security_str(&self) -> String
Get a value string of parameter stringify! (row_security)
sourcepub fn row_security(&self) -> bool
pub fn row_security(&self) -> bool
Get a typed value of parameter stringify! (row_security)
sourcepub fn standard_conforming_strings_str(&self) -> String
pub fn standard_conforming_strings_str(&self) -> String
Get a value string of parameter stringify! (standard_conforming_strings)
sourcepub fn standard_conforming_strings(&self) -> String
pub fn standard_conforming_strings(&self) -> String
Get a typed value of parameter stringify! (standard_conforming_strings)
sourcepub fn backfill_rate_limit_str(&self) -> String
pub fn backfill_rate_limit_str(&self) -> String
Get a value string of parameter stringify! (backfill_rate_limit)
sourcepub fn backfill_rate_limit(&self) -> i32
pub fn backfill_rate_limit(&self) -> i32
Get a typed value of parameter stringify! (backfill_rate_limit)
sourcepub fn source_rate_limit_str(&self) -> String
pub fn source_rate_limit_str(&self) -> String
Get a value string of parameter stringify! (source_rate_limit)
sourcepub fn source_rate_limit(&self) -> i32
pub fn source_rate_limit(&self) -> i32
Get a typed value of parameter stringify! (source_rate_limit)
sourcepub fn streaming_over_window_cache_policy_str(&self) -> String
pub fn streaming_over_window_cache_policy_str(&self) -> String
Get a value string of parameter stringify! (streaming_over_window_cache_policy)
sourcepub fn streaming_over_window_cache_policy(&self) -> OverWindowCachePolicy
pub fn streaming_over_window_cache_policy(&self) -> OverWindowCachePolicy
Get a typed value of parameter stringify! (streaming_over_window_cache_policy)
sourcepub fn background_ddl_str(&self) -> String
pub fn background_ddl_str(&self) -> String
Get a value string of parameter stringify! (background_ddl)
sourcepub fn background_ddl(&self) -> bool
pub fn background_ddl(&self) -> bool
Get a typed value of parameter stringify! (background_ddl)
Get a value string of parameter stringify! (streaming_use_shared_source)
Get a typed value of parameter stringify! (streaming_use_shared_source)
sourcepub fn server_encoding_str(&self) -> String
pub fn server_encoding_str(&self) -> String
Get a value string of parameter stringify! (server_encoding)
sourcepub fn server_encoding(&self) -> String
pub fn server_encoding(&self) -> String
Get a typed value of parameter stringify! (server_encoding)
sourcepub fn bytea_output_str(&self) -> String
pub fn bytea_output_str(&self) -> String
Get a value string of parameter stringify! (bytea_output)
sourcepub fn bytea_output(&self) -> String
pub fn bytea_output(&self) -> String
Get a typed value of parameter stringify! (bytea_output)
sourcepub fn bypass_cluster_limits_str(&self) -> String
pub fn bypass_cluster_limits_str(&self) -> String
Get a value string of parameter stringify! (bypass_cluster_limits)
sourcepub fn bypass_cluster_limits(&self) -> bool
pub fn bypass_cluster_limits(&self) -> bool
Get a typed value of parameter stringify! (bypass_cluster_limits)
sourcepub fn streaming_max_parallelism_str(&self) -> String
pub fn streaming_max_parallelism_str(&self) -> String
Get a value string of parameter stringify! (streaming_max_parallelism)
sourcepub fn streaming_max_parallelism(&self) -> usize
pub fn streaming_max_parallelism(&self) -> usize
Get a typed value of parameter stringify! (streaming_max_parallelism)
sourcepub fn set_implicit_flush_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_implicit_flush_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (implicit_flush) by a string.
sourcepub fn set_implicit_flush(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_implicit_flush( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (implicit_flush) by a typed value.
sourcepub fn set_create_compaction_group_for_mv_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_create_compaction_group_for_mv_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (create_compaction_group_for_mv) by a string.
sourcepub fn set_create_compaction_group_for_mv(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_create_compaction_group_for_mv( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (create_compaction_group_for_mv) by a typed value.
sourcepub fn set_query_mode_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_query_mode_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (query_mode) by a string.
sourcepub fn set_query_mode(
&mut self,
val: QueryMode,
reporter: &mut impl ConfigReporter,
) -> Result<QueryMode, SessionConfigError>
pub fn set_query_mode( &mut self, val: QueryMode, reporter: &mut impl ConfigReporter, ) -> Result<QueryMode, SessionConfigError>
Set parameter stringify! (query_mode) by a typed value.
sourcepub fn set_extra_float_digits_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_extra_float_digits_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (extra_float_digits) by a string.
sourcepub fn set_extra_float_digits(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_extra_float_digits( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (extra_float_digits) by a typed value.
sourcepub fn set_application_name_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_application_name_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (application_name) by a string.
sourcepub fn set_application_name(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_application_name( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (application_name) by a typed value.
sourcepub fn set_date_style_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_date_style_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter “datestyle” by a string.
sourcepub fn set_date_style(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_date_style( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter “datestyle” by a typed value.
sourcepub fn set_batch_enable_lookup_join_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_batch_enable_lookup_join_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (batch_enable_lookup_join) by a string.
sourcepub fn set_batch_enable_lookup_join(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_batch_enable_lookup_join( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (batch_enable_lookup_join) by a typed value.
sourcepub fn set_batch_enable_sort_agg_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_batch_enable_sort_agg_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (batch_enable_sort_agg) by a string.
sourcepub fn set_batch_enable_sort_agg(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_batch_enable_sort_agg( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (batch_enable_sort_agg) by a typed value.
sourcepub fn set_batch_enable_distributed_dml_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_batch_enable_distributed_dml_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter “batch_enable_distributed_dml” by a string.
sourcepub fn set_batch_enable_distributed_dml(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_batch_enable_distributed_dml( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter “batch_enable_distributed_dml” by a typed value.
sourcepub fn set_max_split_range_gap_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_max_split_range_gap_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (max_split_range_gap) by a string.
sourcepub fn set_max_split_range_gap(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_max_split_range_gap( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (max_split_range_gap) by a typed value.
sourcepub fn set_search_path_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_search_path_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (search_path) by a string.
sourcepub fn set_search_path(
&mut self,
val: SearchPath,
reporter: &mut impl ConfigReporter,
) -> Result<SearchPath, SessionConfigError>
pub fn set_search_path( &mut self, val: SearchPath, reporter: &mut impl ConfigReporter, ) -> Result<SearchPath, SessionConfigError>
Set parameter stringify! (search_path) by a typed value.
sourcepub fn set_visibility_mode_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_visibility_mode_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (visibility_mode) by a string.
sourcepub fn set_visibility_mode(
&mut self,
val: VisibilityMode,
reporter: &mut impl ConfigReporter,
) -> Result<VisibilityMode, SessionConfigError>
pub fn set_visibility_mode( &mut self, val: VisibilityMode, reporter: &mut impl ConfigReporter, ) -> Result<VisibilityMode, SessionConfigError>
Set parameter stringify! (visibility_mode) by a typed value.
sourcepub fn set_transaction_isolation_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_transaction_isolation_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (transaction_isolation) by a string.
sourcepub fn set_transaction_isolation(
&mut self,
val: IsolationLevel,
reporter: &mut impl ConfigReporter,
) -> Result<IsolationLevel, SessionConfigError>
pub fn set_transaction_isolation( &mut self, val: IsolationLevel, reporter: &mut impl ConfigReporter, ) -> Result<IsolationLevel, SessionConfigError>
Set parameter stringify! (transaction_isolation) by a typed value.
sourcepub fn set_query_epoch_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_query_epoch_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (query_epoch) by a string.
sourcepub fn set_query_epoch(
&mut self,
val: ConfigNonZeroU64,
reporter: &mut impl ConfigReporter,
) -> Result<ConfigNonZeroU64, SessionConfigError>
pub fn set_query_epoch( &mut self, val: ConfigNonZeroU64, reporter: &mut impl ConfigReporter, ) -> Result<ConfigNonZeroU64, SessionConfigError>
Set parameter stringify! (query_epoch) by a typed value.
sourcepub fn set_timezone_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_timezone_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (timezone) by a string.
sourcepub fn set_timezone(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_timezone( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (timezone) by a typed value.
sourcepub fn set_streaming_parallelism_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_parallelism_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_parallelism) by a string.
sourcepub fn set_streaming_parallelism(
&mut self,
val: ConfigNonZeroU64,
reporter: &mut impl ConfigReporter,
) -> Result<ConfigNonZeroU64, SessionConfigError>
pub fn set_streaming_parallelism( &mut self, val: ConfigNonZeroU64, reporter: &mut impl ConfigReporter, ) -> Result<ConfigNonZeroU64, SessionConfigError>
Set parameter stringify! (streaming_parallelism) by a typed value.
sourcepub fn set_streaming_enable_delta_join_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_enable_delta_join_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_enable_delta_join) by a string.
sourcepub fn set_streaming_enable_delta_join(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_streaming_enable_delta_join( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (streaming_enable_delta_join) by a typed value.
sourcepub fn set_streaming_enable_bushy_join_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_enable_bushy_join_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_enable_bushy_join) by a string.
sourcepub fn set_streaming_enable_bushy_join(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_streaming_enable_bushy_join( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (streaming_enable_bushy_join) by a typed value.
sourcepub fn set_streaming_use_arrangement_backfill_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_use_arrangement_backfill_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_use_arrangement_backfill) by a string.
sourcepub fn set_streaming_use_arrangement_backfill(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_streaming_use_arrangement_backfill( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (streaming_use_arrangement_backfill) by a typed value.
sourcepub fn set_streaming_use_snapshot_backfill_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_use_snapshot_backfill_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_use_snapshot_backfill) by a string.
sourcepub fn set_streaming_use_snapshot_backfill(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_streaming_use_snapshot_backfill( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (streaming_use_snapshot_backfill) by a typed value.
sourcepub fn set_streaming_allow_jsonb_in_stream_key_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_allow_jsonb_in_stream_key_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_allow_jsonb_in_stream_key) by a string.
sourcepub fn set_streaming_allow_jsonb_in_stream_key(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_streaming_allow_jsonb_in_stream_key( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (streaming_allow_jsonb_in_stream_key) by a typed value.
sourcepub fn set_enable_join_ordering_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_enable_join_ordering_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (enable_join_ordering) by a string.
sourcepub fn set_enable_join_ordering(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_enable_join_ordering( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (enable_join_ordering) by a typed value.
sourcepub fn set_enable_two_phase_agg_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_enable_two_phase_agg_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (enable_two_phase_agg) by a string.
sourcepub fn set_enable_two_phase_agg_inner(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_enable_two_phase_agg_inner( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (enable_two_phase_agg) by a typed value.
sourcepub fn set_force_two_phase_agg_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_force_two_phase_agg_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (force_two_phase_agg) by a string.
sourcepub fn set_force_two_phase_agg_inner(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_force_two_phase_agg_inner( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (force_two_phase_agg) by a typed value.
Set parameter stringify! (enable_share_plan) by a string.
Set parameter stringify! (enable_share_plan) by a typed value.
sourcepub fn set_force_split_distinct_agg_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_force_split_distinct_agg_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (force_split_distinct_agg) by a string.
sourcepub fn set_force_split_distinct_agg(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_force_split_distinct_agg( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (force_split_distinct_agg) by a typed value.
sourcepub fn set_interval_style_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_interval_style_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter “intervalstyle” by a string.
sourcepub fn set_interval_style(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_interval_style( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter “intervalstyle” by a typed value.
sourcepub fn set_batch_parallelism_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_batch_parallelism_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (batch_parallelism) by a string.
sourcepub fn set_batch_parallelism(
&mut self,
val: ConfigNonZeroU64,
reporter: &mut impl ConfigReporter,
) -> Result<ConfigNonZeroU64, SessionConfigError>
pub fn set_batch_parallelism( &mut self, val: ConfigNonZeroU64, reporter: &mut impl ConfigReporter, ) -> Result<ConfigNonZeroU64, SessionConfigError>
Set parameter stringify! (batch_parallelism) by a typed value.
sourcepub fn set_server_version_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_server_version_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (server_version) by a string.
sourcepub fn set_server_version(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_server_version( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (server_version) by a typed value.
sourcepub fn set_server_version_num_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_server_version_num_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (server_version_num) by a string.
sourcepub fn set_server_version_num(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_server_version_num( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (server_version_num) by a typed value.
sourcepub fn set_client_min_messages_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_client_min_messages_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (client_min_messages) by a string.
sourcepub fn set_client_min_messages(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_client_min_messages( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (client_min_messages) by a typed value.
sourcepub fn set_client_encoding_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_client_encoding_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (client_encoding) by a string.
sourcepub fn set_client_encoding(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_client_encoding( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (client_encoding) by a typed value.
sourcepub fn set_sink_decouple_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_sink_decouple_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (sink_decouple) by a string.
sourcepub fn set_sink_decouple(
&mut self,
val: SinkDecouple,
reporter: &mut impl ConfigReporter,
) -> Result<SinkDecouple, SessionConfigError>
pub fn set_sink_decouple( &mut self, val: SinkDecouple, reporter: &mut impl ConfigReporter, ) -> Result<SinkDecouple, SessionConfigError>
Set parameter stringify! (sink_decouple) by a typed value.
sourcepub fn set_synchronize_seqscans_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_synchronize_seqscans_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (synchronize_seqscans) by a string.
sourcepub fn set_synchronize_seqscans(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_synchronize_seqscans( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (synchronize_seqscans) by a typed value.
sourcepub fn set_statement_timeout_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_statement_timeout_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (statement_timeout) by a string.
sourcepub fn set_statement_timeout(
&mut self,
val: u32,
reporter: &mut impl ConfigReporter,
) -> Result<u32, SessionConfigError>
pub fn set_statement_timeout( &mut self, val: u32, reporter: &mut impl ConfigReporter, ) -> Result<u32, SessionConfigError>
Set parameter stringify! (statement_timeout) by a typed value.
sourcepub fn set_idle_in_transaction_session_timeout_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_idle_in_transaction_session_timeout_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (idle_in_transaction_session_timeout) by a string.
sourcepub fn set_idle_in_transaction_session_timeout(
&mut self,
val: u32,
reporter: &mut impl ConfigReporter,
) -> Result<u32, SessionConfigError>
pub fn set_idle_in_transaction_session_timeout( &mut self, val: u32, reporter: &mut impl ConfigReporter, ) -> Result<u32, SessionConfigError>
Set parameter stringify! (idle_in_transaction_session_timeout) by a typed value.
sourcepub fn set_lock_timeout_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_lock_timeout_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (lock_timeout) by a string.
sourcepub fn set_lock_timeout(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_lock_timeout( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (lock_timeout) by a typed value.
sourcepub fn set_cdc_source_wait_streaming_start_timeout_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_cdc_source_wait_streaming_start_timeout_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (cdc_source_wait_streaming_start_timeout) by a string.
sourcepub fn set_cdc_source_wait_streaming_start_timeout(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_cdc_source_wait_streaming_start_timeout( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (cdc_source_wait_streaming_start_timeout) by a typed value.
sourcepub fn set_row_security_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_row_security_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (row_security) by a string.
sourcepub fn set_row_security(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_row_security( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (row_security) by a typed value.
sourcepub fn set_standard_conforming_strings_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_standard_conforming_strings_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (standard_conforming_strings) by a string.
sourcepub fn set_standard_conforming_strings(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_standard_conforming_strings( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (standard_conforming_strings) by a typed value.
sourcepub fn set_backfill_rate_limit_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_backfill_rate_limit_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (backfill_rate_limit) by a string.
sourcepub fn set_backfill_rate_limit(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_backfill_rate_limit( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (backfill_rate_limit) by a typed value.
sourcepub fn set_source_rate_limit_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_source_rate_limit_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (source_rate_limit) by a string.
sourcepub fn set_source_rate_limit(
&mut self,
val: i32,
reporter: &mut impl ConfigReporter,
) -> Result<i32, SessionConfigError>
pub fn set_source_rate_limit( &mut self, val: i32, reporter: &mut impl ConfigReporter, ) -> Result<i32, SessionConfigError>
Set parameter stringify! (source_rate_limit) by a typed value.
sourcepub fn set_streaming_over_window_cache_policy_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_over_window_cache_policy_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_over_window_cache_policy) by a string.
sourcepub fn set_streaming_over_window_cache_policy(
&mut self,
val: OverWindowCachePolicy,
reporter: &mut impl ConfigReporter,
) -> Result<OverWindowCachePolicy, SessionConfigError>
pub fn set_streaming_over_window_cache_policy( &mut self, val: OverWindowCachePolicy, reporter: &mut impl ConfigReporter, ) -> Result<OverWindowCachePolicy, SessionConfigError>
Set parameter stringify! (streaming_over_window_cache_policy) by a typed value.
sourcepub fn set_background_ddl_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_background_ddl_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (background_ddl) by a string.
sourcepub fn set_background_ddl(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_background_ddl( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (background_ddl) by a typed value.
Set parameter stringify! (streaming_use_shared_source) by a string.
Set parameter stringify! (streaming_use_shared_source) by a typed value.
sourcepub fn set_server_encoding_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_server_encoding_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (server_encoding) by a string.
sourcepub fn set_server_encoding(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_server_encoding( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (server_encoding) by a typed value.
sourcepub fn set_bytea_output_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_bytea_output_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (bytea_output) by a string.
sourcepub fn set_bytea_output(
&mut self,
val: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_bytea_output( &mut self, val: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (bytea_output) by a typed value.
sourcepub fn set_bypass_cluster_limits_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_bypass_cluster_limits_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (bypass_cluster_limits) by a string.
sourcepub fn set_bypass_cluster_limits(
&mut self,
val: bool,
reporter: &mut impl ConfigReporter,
) -> Result<bool, SessionConfigError>
pub fn set_bypass_cluster_limits( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Set parameter stringify! (bypass_cluster_limits) by a typed value.
sourcepub fn set_streaming_max_parallelism_str(
&mut self,
val: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set_streaming_max_parallelism_str( &mut self, val: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set parameter stringify! (streaming_max_parallelism) by a string.
sourcepub fn set_streaming_max_parallelism(
&mut self,
val: usize,
reporter: &mut impl ConfigReporter,
) -> Result<usize, SessionConfigError>
pub fn set_streaming_max_parallelism( &mut self, val: usize, reporter: &mut impl ConfigReporter, ) -> Result<usize, SessionConfigError>
Set parameter stringify! (streaming_max_parallelism) by a typed value.
pub fn reset_implicit_flush( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_create_compaction_group_for_mv( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_query_mode(&mut self, reporter: &mut impl ConfigReporter) -> String
pub fn reset_extra_float_digits( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_application_name( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_date_style(&mut self, reporter: &mut impl ConfigReporter) -> String
pub fn reset_batch_enable_lookup_join( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_batch_enable_sort_agg( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_batch_enable_distributed_dml( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_max_split_range_gap( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_search_path( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_visibility_mode( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_transaction_isolation( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_query_epoch( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_timezone(&mut self, reporter: &mut impl ConfigReporter) -> String
pub fn reset_streaming_parallelism( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_enable_delta_join( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_enable_bushy_join( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_use_arrangement_backfill( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_use_snapshot_backfill( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_allow_jsonb_in_stream_key( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_enable_join_ordering( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_enable_two_phase_agg( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_force_two_phase_agg( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_force_split_distinct_agg( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_interval_style( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_batch_parallelism( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_server_version( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_server_version_num( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_client_min_messages( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_client_encoding( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_sink_decouple( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_synchronize_seqscans( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_statement_timeout( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_idle_in_transaction_session_timeout( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_lock_timeout( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_cdc_source_wait_streaming_start_timeout( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_row_security( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_standard_conforming_strings( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_backfill_rate_limit( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_source_rate_limit( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_over_window_cache_policy( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_background_ddl( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_server_encoding( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_bytea_output( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_bypass_cluster_limits( &mut self, reporter: &mut impl ConfigReporter, ) -> String
pub fn reset_streaming_max_parallelism( &mut self, reporter: &mut impl ConfigReporter, ) -> String
sourcepub fn set(
&mut self,
key_name: &str,
value: String,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn set( &mut self, key_name: &str, value: String, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Set a parameter given it’s name and value string.
sourcepub fn get(&self, key_name: &str) -> Result<String, SessionConfigError>
pub fn get(&self, key_name: &str) -> Result<String, SessionConfigError>
Get a parameter by it’s name.
sourcepub fn reset(
&mut self,
key_name: &str,
reporter: &mut impl ConfigReporter,
) -> Result<String, SessionConfigError>
pub fn reset( &mut self, key_name: &str, reporter: &mut impl ConfigReporter, ) -> Result<String, SessionConfigError>
Reset a parameter by it’s name.
sourcepub fn show_all(&self) -> Vec<VariableInfo>
pub fn show_all(&self) -> Vec<VariableInfo>
Show all parameters except those specified NO_SHOW_ALL
.
sourcepub fn list_all(&self) -> Vec<VariableInfo>
pub fn list_all(&self) -> Vec<VariableInfo>
List all parameters
sourcepub fn contains_param(key_name: &str) -> bool
pub fn contains_param(key_name: &str) -> bool
Check if SessionConfig
has a parameter.
sourcepub fn check_no_alter_sys(key_name: &str) -> Result<bool, SessionConfigError>
pub fn check_no_alter_sys(key_name: &str) -> Result<bool, SessionConfigError>
Check if SessionConfig
has a parameter.
source§impl SessionConfig
impl SessionConfig
source§impl SessionConfig
impl SessionConfig
pub fn set_force_two_phase_agg( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
pub fn set_enable_two_phase_agg( &mut self, val: bool, reporter: &mut impl ConfigReporter, ) -> Result<bool, SessionConfigError>
Trait Implementations§
source§impl Clone for SessionConfig
impl Clone for SessionConfig
source§fn clone(&self) -> SessionConfig
fn clone(&self) -> SessionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionConfig
impl Debug for SessionConfig
source§impl Default for SessionConfig
impl Default for SessionConfig
source§impl<'de> Deserialize<'de> for SessionConfig
impl<'de> Deserialize<'de> for SessionConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for SessionConfig
impl PartialEq for SessionConfig
source§impl Serialize for SessionConfig
impl Serialize for SessionConfig
impl StructuralPartialEq for SessionConfig
Auto Trait Implementations§
impl Freeze for SessionConfig
impl RefUnwindSafe for SessionConfig
impl Send for SessionConfig
impl Sync for SessionConfig
impl Unpin for SessionConfig
impl UnwindSafe for SessionConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<M> MetricVecRelabelExt for M
impl<M> MetricVecRelabelExt for M
source§fn relabel(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level
.source§fn relabel_n(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
relabel_num: usize,
) -> RelabeledMetricVec<M>
fn relabel_n( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, relabel_num: usize, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level_relabel_n
.source§fn relabel_debug_1(
self,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel_debug_1( self, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level_relabel_n
with metric_level
set to
MetricLevel::Debug
and relabel_num
set to 1.