Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
Wrapper class for the com.google.bigtable.admin.v2.Type protobuf message.
See Also: com.google.bigtable.admin.v2.Type
Static Methods
bigEndianInt64()
public static Type.Int64 bigEndianInt64()
Creates an Int64 type with a big-endian encoding. The bytes are then encoded in "raw" format.
bytes(Type.Bytes.Encoding encoding)
public static Type.Bytes bytes(Type.Bytes.Encoding encoding)
Creates a Bytes type with the specified encoding
fromProto(Type source)
public static Type fromProto(Type source)
Parameter
Name
Description
source
com.google.bigtable.admin.v2.Type
Returns
Type
Description
Type
public static Type.Aggregate hll(Type.HllAggregateInput inputType)
Creates an Aggregate type with a HLL aggregator and specified input type.
int64(Type.Int64.Encoding encoding)
public static Type.Int64 int64(Type.Int64.Encoding encoding)
Creates an Int64 type with the specified encoding.
int64Hll()
public static Type.Aggregate int64Hll()
Creates an Aggregate type with a HLL aggregator and Int64 input type.
int64Max()
public static Type.Aggregate int64Max()
Creates an Aggregate type with a MAX aggregator and Int64 input type.
int64Min()
public static Type.Aggregate int64Min()
Creates an Aggregate type with a MIN aggregator and Int64 input type.
int64Sum()
public static Type.Aggregate int64Sum()
Creates an Aggregate type with a SUM aggregator and Int64 input type.
public static Type.Aggregate max(Type.MaxAggregateInput inputType)
Creates an Aggregate type with a MAX aggregator and specified input type.
public static Type.Aggregate min(Type.MinAggregateInput inputType)
Creates an Aggregate type with a MIN aggregator and specified input type.
raw()
public static Type.Raw raw()
The raw type denotes the absence of a type.
rawBytes()
public static Type.Bytes rawBytes()
Creates a Bytes type with a "raw" encoding, leaving the bytes encoded as they are passed in.
public static Type.Aggregate sum(Type.SumAggregateInput inputType)
Creates an Aggregate type with a SUM aggregator and specified input type.
Methods
toProto()
public abstract Type toProto()
Returns
Type
Description
com.google.bigtable.admin.v2.Type