Interface Type (2.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
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 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-10 UTC."}