public abstract static class BigtableColumn.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract BigtableColumn |
build() |
abstract BigtableColumn.Builder |
setEncoding(String encoding)
The encoding of the values when the type is not STRING.
|
abstract BigtableColumn.Builder |
setFieldName(String fieldName)
If the qualifier is not a valid BigQuery field identifier, a valid identifier must be
provided as the column field name and is used as field name in queries.
|
abstract BigtableColumn.Builder |
setOnlyReadLatest(Boolean onlyReadLatest)
If this is set, only the latest version of value in this column are exposed.
|
abstract BigtableColumn.Builder |
setQualifierEncoded(String qualifierEncoded)
Qualifier of the column.
|
abstract BigtableColumn.Builder |
setType(String type)
The type to convert the value in cells of this column.
|
public abstract BigtableColumn.Builder setQualifierEncoded(String qualifierEncoded)
Columns in the parent column family that has this exact qualifier are exposed as . field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier, a valid identifier must be provided as field_name.
public abstract BigtableColumn.Builder setFieldName(String fieldName)
public abstract BigtableColumn.Builder setOnlyReadLatest(Boolean onlyReadLatest)
'onlyReadLatest' can also be set at the column family level. However, the setting at the column level takes precedence if 'onlyReadLatest' is set at both levels.
public abstract BigtableColumn.Builder setEncoding(String encoding)
Encoding can also be set at the column family level. However, the setting at the column level takes precedence if 'encoding' is set at both levels.
public abstract BigtableColumn.Builder setType(String type)
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 Default type is BYTES.
'type' can also be set at the column family level. However, the setting at the column level takes precedence if 'type' is set at both levels.
public abstract BigtableColumn build()
Copyright © 2019 Google LLC. All rights reserved.