View Source GoogleApi.BigtableAdmin.V2.Model.Type (google_api_bigtable_admin v0.29.0)
Type
represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each Type
includes an Encoding
which describes how to convert to/from the underlying data. Each encoding also defines the following properties: Order-preserving: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, not the decoded type. - Example: BYTES values sort in the same order as their raw encodings. - Counterexample: Encoding INT64 as a fixed-width decimal string does not preserve sort order when dealing with negative numbers. INT64(1) > INT64(-1)
, but STRING("-00001") > STRING("00001)
. Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?
Attributes
-
aggregateType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeAggregate.t
, default:nil
) - Aggregate -
arrayType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeArray.t
, default:nil
) - Array -
boolType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeBool.t
, default:nil
) - Bool -
bytesType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeBytes.t
, default:nil
) - Bytes -
dateType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeDate.t
, default:nil
) - Date -
float32Type
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeFloat32.t
, default:nil
) - Float32 -
float64Type
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeFloat64.t
, default:nil
) - Float64 -
int64Type
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeInt64.t
, default:nil
) - Int64 -
mapType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeMap.t
, default:nil
) - Map -
stringType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeString.t
, default:nil
) - String -
structType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeStruct.t
, default:nil
) - Struct -
timestampType
(type:GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeTimestamp.t
, default:nil
) - Timestamp
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.BigtableAdmin.V2.Model.Type{ aggregateType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeAggregate.t() | nil, arrayType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeArray.t() | nil, boolType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeBool.t() | nil, bytesType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeBytes.t() | nil, dateType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeDate.t() | nil, float32Type: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeFloat32.t() | nil, float64Type: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeFloat64.t() | nil, int64Type: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeInt64.t() | nil, mapType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeMap.t() | nil, stringType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeString.t() | nil, structType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeStruct.t() | nil, timestampType: GoogleApi.BigtableAdmin.V2.Model.GoogleBigtableAdminV2TypeTimestamp.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.