Class SyntheticDataSingleRequest
This request groups the target database object, owner/schema, requested record count, user guidance, and synthetic-data generation parameters into one immutable request.
The SDK performs basic, deterministic validation where the constraint can
be evaluated independently of Oracle Database. In particular, the
objectName must not be null or blank, and recordCount, when
specified, must be greater than zero. 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
request 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 Classes -
Method Summary
Modifier and TypeMethodDescriptionCreates a builder for a single-object synthetic data request.Returns the target database object name.Returns the database user/schema associated with the target object.Returns the synthetic data generation parameters.Returns the synthetic data generation parameters serialized as JSON.Returns the requested number of records to generate.Returns user guidance for synthetic data generation.
-
Method Details
-
getObjectName
Returns the target database object name.- Returns:
- target object name
-
getOwnerName
Returns the database user/schema associated with the target object.- Returns:
- owner/schema name, or
nullwhen not set
-
getRecordCount
Returns the requested number of records to generate.- Returns:
- record count, or
nullwhen not set
-
getUserPrompt
Returns user guidance for synthetic data generation.- Returns:
- user prompt, or
nullwhen not set
-
getParams
Returns the synthetic data generation parameters.- Returns:
- generation parameters, or
nullwhen not set
-
getParamsJson
Returns the synthetic data generation parameters serialized as JSON.- Returns:
- JSON representation of the parameters, or
nullwhen parameters are not set
-
builder
Creates a builder for a single-object synthetic data request.The SDK validates the target object name when the builder is created. Database-specific validation of the target object and generation semantics is delegated to
DBMS_CLOUD_AIand Oracle Database.- Parameters:
objectName- target database object name- Returns:
- builder initialized with the target object name
- Throws:
IllegalArgumentException- ifobjectNameis null or blank
-