Class SyntheticDataParams
DBMS_CLOUD_AI.GENERATE_SYNTHETIC_DATA.
These parameters control how Select AI samples source table data, uses table statistics, and schedules parallel requests when generating synthetic data.
The SDK performs basic, deterministic validation for values that can be
validated independently of Oracle Database. In particular,
sampleRows must be between 0 and 100, inclusive, when specified,
and priority must be one of HIGH, MEDIUM, or
LOW. Invalid values detected by the SDK result in an
IllegalArgumentException.
Database-specific, database-version-specific, and other semantic validation
is delegated to DBMS_CLOUD_AI and Oracle Database. Therefore, a
parameter value that passes SDK validation may still be rejected by the
database based on the requested synthetic-data operation or other
database-side requirements.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forSyntheticDataParams.static enumPriority values accepted by synthetic data generation parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyntheticDataParams.Builderbuilder()Creates a builder for synthetic data generation parameters.Returns whether table comments are used as generation context.Returns the priority used for synthetic data generation.Returns the number of table rows sampled to guide synthetic data generation.Returns whether table statistics are used during synthetic data generation.toJson()Serializes the parameter payload using the snake_case names expected byDBMS_CLOUD_AI.
-
Method Details
-
getSampleRows
Returns the number of table rows sampled to guide synthetic data generation.- Returns:
- sample-rows value, or
nullwhen unset
-
getTableStatistics
Returns whether table statistics are used during synthetic data generation.- Returns:
- table-statistics flag, or
nullwhen unset
-
getPriority
Returns the priority used for synthetic data generation.- Returns:
- priority value (
HIGH,MEDIUM, orLOW), ornullwhen unset
-
getComments
Returns whether table comments are used as generation context.- Returns:
- comments flag, or
nullwhen unset
-
toJson
Serializes the parameter payload using the snake_case names expected byDBMS_CLOUD_AI.- Returns:
- JSON representation of this
SyntheticDataParams - Throws:
IllegalStateException- if serialization fails
-
builder
Creates a builder for synthetic data generation parameters.- Returns:
- new builder for constructing
SyntheticDataParams
-