The Cloud Bigtable source for importing data.
JSON representation |
---|
{
"projectId": string,
"instanceId": string,
"tableId": string,
"bigtableOptions": {
object ( |
Fields | |
---|---|
project |
The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request. |
instance |
Required. The instance ID of the Cloud Bigtable that needs to be imported. |
table |
Required. The table ID of the Cloud Bigtable that needs to be imported. |
bigtable |
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations. |
BigtableOptions
The Bigtable Options object that contains information to support the import.
JSON representation |
---|
{
"keyFieldName": string,
"families": {
string: {
object ( |
Fields | |
---|---|
key |
The field name used for saving row key value in the document. The name has to match the pattern |
families |
The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored. |
BigtableColumnFamily
The column family of the Bigtable.
JSON representation |
---|
{ "fieldName": string, "encoding": enum ( |
Fields | |
---|---|
field |
The field name to use for this column family in the document. The name has to match the pattern |
encoding |
The encoding mode of the values when the type is not STRING. Acceptable encoding values are:
|
type |
The type of values in this column family. The values are expected to be encoded using |
columns[] |
The list of objects that contains column level information for each column. If a column is not present in this list it will be ignored. |
Encoding
The encoding mode of a Bigtable column or column family.
Enums | |
---|---|
ENCODING_UNSPECIFIED |
The encoding is unspecified. |
TEXT |
Text encoding. |
BINARY |
Binary encoding. |
Type
The type of values in a Bigtable column or column family. The values are expected to be encoded using HBase Bytes.toBytes function when the encoding value is set to BINARY
.
Enums | |
---|---|
TYPE_UNSPECIFIED |
The type is unspecified. |
STRING |
String type. |
NUMBER |
Numerical type. |
INTEGER |
Integer type. |
VAR_INTEGER |
Variable length integer type. |
BIG_NUMERIC |
BigDecimal type. |
BOOLEAN |
Boolean type. |
JSON |
JSON type. |
BigtableColumn
The column of the Bigtable.
JSON representation |
---|
{ "qualifier": string, "fieldName": string, "encoding": enum ( |
Fields | |
---|---|
qualifier |
Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead. A base64-encoded string. |
field |
The field name to use for this column in the document. The name has to match the pattern |
encoding |
The encoding mode of the values when the type is not
|
type |
The type of values in this column family. The values are expected to be encoded using |