Class Type (2.37.0)

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
TypeDescription
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
NameDescription
encodingType.Bytes.Encoding
Returns
TypeDescription
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
NameDescription
encodingType.Int64.Encoding
Returns
TypeDescription
Type.Int64

int64Sum()

public static Type.Aggregate int64Sum()

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

Returns
TypeDescription
Type.Aggregate

raw()

public static Type.Raw raw()

The raw type denotes the absence of a type.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
inputTypeType.SumAggregateInput
Returns
TypeDescription
Type.Aggregate