Skip to main content

Module constants

Module constants 

Source
Expand description

Crate-wide constants and defaults.

Constantsยง

CONNECTORX_PROTOCOL
Connection string query parameter that selects the ConnectorX protocol (e.g. binary, csv).
CX_REWRITER_PATH
Default path of the federated query rewriter jar.
DB_BUFFER_SIZE
Number of rows buffered per fetch by the row-based database sources.
DEFAULT_ARROW_DECIMAL
Default Arrow decimal type, Decimal128(38, 10).
DEFAULT_ARROW_DECIMAL_PRECISION
Precision used for Arrow Decimal128 columns when the source does not give one.
DEFAULT_ARROW_DECIMAL_SCALE
Scale used for Arrow Decimal128 columns when the source does not give one.
DUCKDB_JDBC_DRIVER
JDBC driver class for DuckDB, used by the federated rewriter.
J4RS_BASE_PATH
Directory holding the j4rs jars used by the federated query rewriter.
MYSQL_JDBC_DRIVER
JDBC driver class for MySQL, used by the federated rewriter.
ORACLE_ARRAY_SIZE
Number of rows Oracle prefetches per round trip.
POSTGRES_JDBC_DRIVER
JDBC driver class for Postgres, used by the federated rewriter.
RECORD_BATCH_SIZE
Default number of rows per Arrow record batch.