Class Type (2.39.5)

public abstract class Type

Wrapper class for the com.google.bigtable.admin.v2.Type protobuf message. See Also: com.google.bigtable.admin.v2.Type

Inheritance

java.lang.Object > 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.

Returns
Type Description
Type.Int64

bytes(Type.Bytes.Encoding encoding)

public static Type.Bytes bytes(Type.Bytes.Encoding encoding)

Creates a Bytes type with the specified encoding

Parameter
Name Description
encoding Type.Bytes.Encoding
Returns
Type Description
Type.Bytes

int64(Type.Int64.Encoding encoding)

public static Type.Int64 int64(Type.Int64.Encoding encoding)

Creates an Int64 type with the specified encoding.

Parameter
Name Description
encoding Type.Int64.Encoding
Returns
Type Description
Type.Int64

int64Sum()

public static Type.Aggregate int64Sum()

Creates an Aggregate type with a SUM aggregator and Int64 input type.

Returns
Type Description
Type.Aggregate

raw()

public static Type.Raw raw()

The raw type denotes the absence of a type.

Returns
Type Description
Type.Raw

rawBytes()

public static Type.Bytes rawBytes()

Creates a Bytes type with a "raw" encoding, leaving the bytes encoded as they are passed in.

Returns
Type Description
Type.Bytes

sum(Type.SumAggregateInput inputType)

public static Type.Aggregate sum(Type.SumAggregateInput inputType)

Creates an Aggregate type with a SUM aggregator and specified input type.

Parameter
Name Description
inputType Type.SumAggregateInput
Returns
Type Description
Type.Aggregate