Interface Type (2.44.1)

public interface Type

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.

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

fromProto(Type source)

public static Type fromProto(Type source)
Parameter
Name Description
source com.google.bigtable.admin.v2.Type
Returns
Type Description
Type

hll(Type.HllAggregateInput inputType)

public static Type.Aggregate hll(Type.HllAggregateInput inputType)

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

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

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

int64Hll()

public static Type.Aggregate int64Hll()

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

Returns
Type Description
Type.Aggregate

int64Max()

public static Type.Aggregate int64Max()

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

Returns
Type Description
Type.Aggregate

int64Min()

public static Type.Aggregate int64Min()

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

Returns
Type Description
Type.Aggregate

int64Sum()

public static Type.Aggregate int64Sum()

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

Returns
Type Description
Type.Aggregate

max(Type.MaxAggregateInput inputType)

public static Type.Aggregate max(Type.MaxAggregateInput inputType)

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

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

min(Type.MinAggregateInput inputType)

public static Type.Aggregate min(Type.MinAggregateInput inputType)

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

Parameter
Name Description
inputType Type.MinAggregateInput
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

Methods

toProto()

public abstract Type toProto()
Returns
Type Description
com.google.bigtable.admin.v2.Type