Class SyntheticDataBatchRequest
A batch request groups multiple SyntheticDataObjectList descriptors
together with shared SyntheticDataParams used for the synthetic data
generation operation.
This model represents the batch form of
DBMS_CLOUD_AI.GENERATE_SYNTHETIC_DATA, where target objects are sent
through the object_list CLOB parameter and shared generation options
are sent through the params CLOB parameter.
The SDK performs basic, deterministic validation where the constraint can
be evaluated independently of Oracle Database. Each object descriptor must
be non-null, and the batch must contain at least one object descriptor.
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 batch
request that passes SDK validation may still be rejected by the database
based on the selected profile, object descriptors, generation parameters,
or other database-side requirements.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder for a batch synthetic-data request.Returns the target database object descriptors.Returns the object descriptors serialized as a JSON array forDBMS_CLOUD_AI.GENERATE_SYNTHETIC_DATA.Returns the synthetic data generation parameters shared by the batch.Returns the shared synthetic data generation parameters serialized as JSON.
-
Method Details
-
getObjectListJson
Returns the object descriptors serialized as a JSON array forDBMS_CLOUD_AI.GENERATE_SYNTHETIC_DATA.- Returns:
- JSON array representing the batch object list
- Throws:
IllegalStateException- if the object list cannot be serialized
-
getParamsJson
Returns the shared synthetic data generation parameters serialized as JSON.- Returns:
- JSON representation of
SyntheticDataParams, ornullwhen no parameters are configured
-
getParams
Returns the synthetic data generation parameters shared by the batch.- Returns:
- generation parameters, or
nullwhen not set
-
getObjectList
Returns the target database object descriptors.- Returns:
- immutable list of target object descriptors
-
builder
Creates a builder for a batch synthetic-data request.- Returns:
- new builder for constructing a batch request
-