All Known Subinterfaces:
Type.HllAggregateInput, Type.MaxAggregateInput, Type.MinAggregateInput, Type.SumAggregateInput
All Known Implementing Classes:
Type.Aggregate, Type.Bytes, Type.Int64, Type.Raw

@BetaApi public interface Type
Wrapper class for the Type protobuf message.
See Also:
  • Method Details

    • toProto

      Type toProto()
    • fromProto

      static Type fromProto(Type source)
    • raw

      static Type.Raw raw()
      The raw type denotes the absence of a type.
    • rawBytes

      static Type.Bytes rawBytes()
      Creates a Bytes type with a "raw" encoding, leaving the bytes encoded as they are passed in.
    • bytes

      static Type.Bytes bytes(Type.Bytes.Encoding encoding)
      Creates a Bytes type with the specified encoding
    • bigEndianInt64

      static Type.Int64 bigEndianInt64()
      Creates an Int64 type with a big-endian encoding. The bytes are then encoded in "raw" format.
    • int64

      static Type.Int64 int64(Type.Int64.Encoding encoding)
      Creates an Int64 type with the specified encoding.
    • int64Sum

      static Type.Aggregate int64Sum()
      Creates an Aggregate type with a SUM aggregator and Int64 input type.
    • sum

      static Type.Aggregate sum(Type.SumAggregateInput inputType)
      Creates an Aggregate type with a SUM aggregator and specified input type.
    • int64Min

      static Type.Aggregate int64Min()
      Creates an Aggregate type with a MIN aggregator and Int64 input type.
    • min

      static Type.Aggregate min(Type.MinAggregateInput inputType)
      Creates an Aggregate type with a MIN aggregator and specified input type.
    • int64Max

      static Type.Aggregate int64Max()
      Creates an Aggregate type with a MAX aggregator and Int64 input type.
    • max

      static Type.Aggregate max(Type.MaxAggregateInput inputType)
      Creates an Aggregate type with a MAX aggregator and specified input type.
    • int64Hll

      static Type.Aggregate int64Hll()
      Creates an Aggregate type with a HLL aggregator and Int64 input type.
    • hll

      static Type.Aggregate hll(Type.HllAggregateInput inputType)
      Creates an Aggregate type with a HLL aggregator and specified input type.