Class CreateIngestionJobsOptions
- java.lang.Object
 - 
- com.ibm.cloud.sdk.core.service.model.GenericModel
 - 
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.CreateIngestionJobsOptions
 
 
 
- 
- All Implemented Interfaces:
 com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateIngestionJobsOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createIngestionJobs options. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateIngestionJobsOptions.BuilderBuilder.static interfaceCreateIngestionJobsOptions.SourceFileTypeSource file types (parquet or csv or json). 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringauthInstanceId()Gets the authInstanceId.java.lang.BooleancreateIfNotExist()Gets the createIfNotExist.IngestionJobPrototypeCsvPropertycsvProperty()Gets the csvProperty.java.lang.StringengineId()Gets the engineId.IngestionJobPrototypeExecuteConfigexecuteConfig()Gets the executeConfig.java.lang.StringjobId()Gets the jobId.CreateIngestionJobsOptions.BuildernewBuilder()New builder.java.lang.StringpartitionBy()Gets the partitionBy.java.lang.Stringschema()Gets the schema.java.lang.StringsourceDataFiles()Gets the sourceDataFiles.java.lang.StringsourceFileType()Gets the sourceFileType.java.lang.StringtargetTable()Gets the targetTable.java.lang.Stringusername()Gets the username.java.lang.BooleanvalidateCsvHeader()Gets the validateCsvHeader. 
 - 
 
- 
- 
Method Detail
- 
newBuilder
public CreateIngestionJobsOptions.Builder newBuilder()
New builder.- Returns:
 - a CreateIngestionJobsOptions builder
 
 
- 
authInstanceId
public java.lang.String authInstanceId()
Gets the authInstanceId. watsonx.data instance ID.- Returns:
 - the authInstanceId
 
 
- 
jobId
public java.lang.String jobId()
Gets the jobId. Job ID of the job.- Returns:
 - the jobId
 
 
- 
sourceDataFiles
public java.lang.String sourceDataFiles()
Gets the sourceDataFiles. Comma separated source file or directory path.- Returns:
 - the sourceDataFiles
 
 
- 
targetTable
public java.lang.String targetTable()
Gets the targetTable. Target table name in format catalog.schema.table.- Returns:
 - the targetTable
 
 
- 
username
public java.lang.String username()
Gets the username. User submitting ingestion job.- Returns:
 - the username
 
 
- 
createIfNotExist
public java.lang.Boolean createIfNotExist()
Gets the createIfNotExist. Create new target table (if True); Insert into pre-existing target table (if False).- Returns:
 - the createIfNotExist
 
 
- 
csvProperty
public IngestionJobPrototypeCsvProperty csvProperty()
Gets the csvProperty. Ingestion CSV properties.- Returns:
 - the csvProperty
 
 
- 
engineId
public java.lang.String engineId()
Gets the engineId. ID of the spark engine to be used for ingestion.- Returns:
 - the engineId
 
 
- 
executeConfig
public IngestionJobPrototypeExecuteConfig executeConfig()
Gets the executeConfig. Ingestion engine configuration.- Returns:
 - the executeConfig
 
 
- 
partitionBy
public java.lang.String partitionBy()
Gets the partitionBy. Partition by expression of the target table.- Returns:
 - the partitionBy
 
 
- 
schema
public java.lang.String schema()
Gets the schema. Schema definition of the source table.- Returns:
 - the schema
 
 
- 
sourceFileType
public java.lang.String sourceFileType()
Gets the sourceFileType. Source file types (parquet or csv or json).- Returns:
 - the sourceFileType
 
 
- 
validateCsvHeader
public java.lang.Boolean validateCsvHeader()
Gets the validateCsvHeader. Validate CSV header if the target table exist.- Returns:
 - the validateCsvHeader
 
 
 - 
 
 -