All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.bigquery.kotlin.outputs.TableExternalDataConfigurationBigtableOptionsColumnFamily.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property columns A List of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as Other columns can be accessed as a list through column field.  Structure is documented below.
 * @property encoding The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.
 * @property familyId Identifier of the column family.
 * @property onlyReadLatest If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column.
 * @property type The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): "BYTES", "STRING", "INTEGER", "FLOAT", "BOOLEAN", "JSON". Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it.
 */
public data class TableExternalDataConfigurationBigtableOptionsColumnFamily(
    public val columns: List? = null,
    public val encoding: String? = null,
    public val familyId: String? = null,
    public val onlyReadLatest: Boolean? = null,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.TableExternalDataConfigurationBigtableOptionsColumnFamily): TableExternalDataConfigurationBigtableOptionsColumnFamily =
            TableExternalDataConfigurationBigtableOptionsColumnFamily(
                columns = javaType.columns().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.bigquery.kotlin.outputs.TableExternalDataConfigurationBigtableOptionsColumnFamilyColumn.Companion.toKotlin(args0)
                    })
                }),
                encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
                familyId = javaType.familyId().map({ args0 -> args0 }).orElse(null),
                onlyReadLatest = javaType.onlyReadLatest().map({ args0 -> args0 }).orElse(null),
                type = javaType.type().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy