public final class BigtableColumn extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BigtableColumn() |
Modifier and Type | Method and Description |
---|---|
BigtableColumn |
clone() |
byte[] |
decodeQualifierEncoded()
[Required] Qualifier of the column.
|
BigtableColumn |
encodeQualifierEncoded(byte[] qualifierEncoded)
[Required] Qualifier of the column.
|
String |
getEncoding()
[Optional] The encoding of the values when the type is not STRING.
|
String |
getFieldName()
[Optional] If the qualifier is not a valid BigQuery field identifier i.e.
|
Boolean |
getOnlyReadLatest()
[Optional] If this is set, only the latest version of value in this column are exposed.
|
String |
getQualifierEncoded()
[Required] Qualifier of the column.
|
String |
getQualifierString() |
String |
getType()
[Optional] The type to convert the value in cells of this column.
|
BigtableColumn |
set(String fieldName,
Object value) |
BigtableColumn |
setEncoding(String encoding)
[Optional] The encoding of the values when the type is not STRING.
|
BigtableColumn |
setFieldName(String fieldName)
[Optional] If the qualifier is not a valid BigQuery field identifier i.e.
|
BigtableColumn |
setOnlyReadLatest(Boolean onlyReadLatest)
[Optional] If this is set, only the latest version of value in this column are exposed.
|
BigtableColumn |
setQualifierEncoded(String qualifierEncoded)
[Required] Qualifier of the column.
|
BigtableColumn |
setQualifierString(String qualifierString) |
BigtableColumn |
setType(String type)
[Optional] The type to convert the value in cells of this column.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEncoding()
null
for nonepublic BigtableColumn setEncoding(String encoding)
encoding
- encoding or null
for nonepublic String getFieldName()
null
for nonepublic BigtableColumn setFieldName(String fieldName)
fieldName
- fieldName or null
for nonepublic Boolean getOnlyReadLatest()
null
for nonepublic BigtableColumn setOnlyReadLatest(Boolean onlyReadLatest)
onlyReadLatest
- onlyReadLatest or null
for nonepublic String getQualifierEncoded()
null
for nonedecodeQualifierEncoded()
public byte[] decodeQualifierEncoded()
null
for nonegetQualifierEncoded()
public BigtableColumn setQualifierEncoded(String qualifierEncoded)
qualifierEncoded
- qualifierEncoded or null
for none#encodeQualifierEncoded()
public BigtableColumn encodeQualifierEncoded(byte[] qualifierEncoded)
The value is encoded Base64 or {@code null} for none.
public String getQualifierString()
null
for nonepublic BigtableColumn setQualifierString(String qualifierString)
qualifierString
- qualifierString or null
for nonepublic String getType()
null
for nonepublic BigtableColumn setType(String type)
type
- type or null
for nonepublic BigtableColumn set(String fieldName, Object value)
set
in class GenericJson
public BigtableColumn clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.