Class Type.SchemalessProto (2.66.0)

public abstract static class Type.SchemalessProto implements SqlType.Proto

This is a special version of proto that is intended to only be used internally, to facilitate proto schema parsing, which does not have the full information required to parse the protobuf messages.

Any attempts to call getParserForType() will throw an exception.

Inheritance

java.lang.Object > Type.SchemalessProto

Implements

SqlType.Proto

Static Methods

create(String messageName)

public static Type.SchemalessProto create(String messageName)
Parameter
Name Description
messageName String
Returns
Type Description
Type.SchemalessProto

fromProto(Type.Proto proto)

public static Type.SchemalessProto fromProto(Type.Proto proto)
Parameter
Name Description
proto com.google.bigtable.v2.Type.Proto
Returns
Type Description
Type.SchemalessProto

Constructors

SchemalessProto()

public SchemalessProto()

Methods

getCode()

public SqlType.Code getCode()
Returns
Type Description
SqlType.Code

getMessageName()

public abstract String getMessageName()
Returns
Type Description
String

getParserForType()

public Parser<AbstractMessage> getParserForType()
Returns
Type Description
Parser<AbstractMessage>

toString()

public String toString()
Returns
Type Description
String
Overrides