Class CreateIngestionJobsLocalFilesOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.CreateIngestionJobsLocalFilesOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateIngestionJobsLocalFilesOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createIngestionJobsLocalFiles options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateIngestionJobsLocalFilesOptions.BuilderBuilder.static interfaceCreateIngestionJobsLocalFilesOptions.SourceFileTypeFile format of source file.
-
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.java.lang.StringcsvProperty()Gets the csvProperty.java.lang.StringengineId()Gets the engineId.java.lang.StringexecuteConfig()Gets the executeConfig.java.lang.StringjobId()Gets the jobId.CreateIngestionJobsLocalFilesOptions.BuildernewBuilder()New builder.java.io.InputStreamsourceDataFile()Gets the sourceDataFile.java.lang.StringsourceDataFileContentType()Gets the sourceDataFileContentType.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 CreateIngestionJobsLocalFilesOptions.Builder newBuilder()
New builder.- Returns:
- a CreateIngestionJobsLocalFilesOptions builder
-
authInstanceId
public java.lang.String authInstanceId()
Gets the authInstanceId. watsonx.data instance ID.- Returns:
- the authInstanceId
-
sourceDataFile
public java.io.InputStream sourceDataFile()
Gets the sourceDataFile. The user local file submitted for ingestion.- Returns:
- the sourceDataFile
-
targetTable
public java.lang.String targetTable()
Gets the targetTable. Target table name in format catalog.schema.table.- Returns:
- the targetTable
-
jobId
public java.lang.String jobId()
Gets the jobId. Job ID of the job.- Returns:
- the jobId
-
username
public java.lang.String username()
Gets the username. User submitting ingestion job.- Returns:
- the username
-
sourceDataFileContentType
public java.lang.String sourceDataFileContentType()
Gets the sourceDataFileContentType. The content type of sourceDataFile. Values for this parameter can be obtained from the HttpMediaType class.- Returns:
- the sourceDataFileContentType
-
sourceFileType
public java.lang.String sourceFileType()
Gets the sourceFileType. File format of source file.- Returns:
- the sourceFileType
-
csvProperty
public java.lang.String csvProperty()
Gets the csvProperty. Ingestion CSV properties (base64 encoding of a stringifed json).- Returns:
- the csvProperty
-
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
-
validateCsvHeader
public java.lang.Boolean validateCsvHeader()
Gets the validateCsvHeader. Validate CSV header if the target table exist.- Returns:
- the validateCsvHeader
-
executeConfig
public java.lang.String executeConfig()
Gets the executeConfig. Ingestion engine configuration (base64 encoding of a stringifed json).- Returns:
- the executeConfig
-
engineId
public java.lang.String engineId()
Gets the engineId. ID of the spark engine to be used for ingestion.- Returns:
- the engineId
-
-