DatasetCreateRequestParametersArgs

data class DatasetCreateRequestParametersArgs(val header: Output<Either<String, Header>>? = null, val includePath: Output<Boolean>? = null, val partitionFormat: Output<String>? = null, val path: Output<DatasetCreateRequestPathArgs>? = null, val query: Output<DatasetCreateRequestQueryArgs>? = null, val separator: Output<String>? = null, val sourceType: Output<Either<String, SourceType>>? = null) : ConvertibleToJava<DatasetCreateRequestParametersArgs>

Constructors

Link copied to clipboard
constructor(header: Output<Either<String, Header>>? = null, includePath: Output<Boolean>? = null, partitionFormat: Output<String>? = null, path: Output<DatasetCreateRequestPathArgs>? = null, query: Output<DatasetCreateRequestQueryArgs>? = null, separator: Output<String>? = null, sourceType: Output<Either<String, SourceType>>? = null)

Properties

Link copied to clipboard
val header: Output<Either<String, Header>>? = null

Header type.

Link copied to clipboard
val includePath: Output<Boolean>? = null

Boolean to keep path information as column in the dataset. Defaults to False. This is useful when reading multiple files, and want to know which file a particular record originated from, or to keep useful information in file path.

Link copied to clipboard
val partitionFormat: Output<String>? = null

The partition information of each path will be extracted into columns based on the specified format. Format part '{column_name}' creates string column, and '{column_name:yyyy/MM/dd/HH/mm/ss}' creates datetime column, where 'yyyy', 'MM', 'dd', 'HH', 'mm' and 'ss' are used to extract year, month, day, hour, minute and second for the datetime type. The format should start from the position of first partition key until the end of file path. For example, given the path '../USA/2019/01/01/data.parquet' where the partition is by country/region and time, partition_format='/{CountryOrRegion}/{PartitionDate:yyyy/MM/dd}/data.csv' creates a string column 'CountryOrRegion' with the value 'USA' and a datetime column 'PartitionDate' with the value '2019-01-01

Link copied to clipboard
val path: Output<DatasetCreateRequestPathArgs>? = null
Link copied to clipboard
Link copied to clipboard
val separator: Output<String>? = null

The separator used to split columns for 'delimited_files' sourceType.

Link copied to clipboard
val sourceType: Output<Either<String, SourceType>>? = null

Data source type.

Functions

Link copied to clipboard
open override fun toJava(): DatasetCreateRequestParametersArgs