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.GenericModel
The createIngestionJobsLocalFiles options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateIngestionJobsLocalFilesOptions.Builder
Builder.static interface
CreateIngestionJobsLocalFilesOptions.SourceFileType
File format of source file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
authInstanceId()
Gets the authInstanceId.java.lang.Boolean
createIfNotExist()
Gets the createIfNotExist.java.lang.String
csvProperty()
Gets the csvProperty.java.lang.String
engineId()
Gets the engineId.java.lang.String
executeConfig()
Gets the executeConfig.java.lang.String
jobId()
Gets the jobId.CreateIngestionJobsLocalFilesOptions.Builder
newBuilder()
New builder.java.io.InputStream
sourceDataFile()
Gets the sourceDataFile.java.lang.String
sourceDataFileContentType()
Gets the sourceDataFileContentType.java.lang.String
sourceFileType()
Gets the sourceFileType.java.lang.String
targetTable()
Gets the targetTable.java.lang.String
username()
Gets the username.java.lang.Boolean
validateCsvHeader()
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
-
-