Package com.google.cloud.spanner.pgadapter.parsers (0.18.1)

Classes

ArrayParser

Translate wire protocol to array. Since arrays house any other specified types (including potentially arrays), we use all parser types to parse each item within.

BinaryParser

Parse specified type to binary (generally this is the simplest parse class, as items are generally represented in binary for wire format).

BooleanParser

Parse specified data to boolean. For most cases it is simply translating from chars 't'/'f' to bit, or simply returning the bit representation.

DateParser

Translate wire protocol dates to desired formats.

DoubleParser

Translate from wire protocol to double.

JsonbParser

Translate from wire protocol to jsonb.

LongParser

Translate from wire protocol to long.

NumericParser

Translate from wire protocol to Number.

Parser<T>

Parser is the parsing superclass, used to take wire format data types and convert them specifically to desired byte types. Each subclass is assigned with a specific type.

StringParser

Translate from wire protocol to string.

TimestampParser

Translate from wire protocol to timestamp.

UuidParser

Translate from wire protocol to UUID. This is currently a one-way conversion, as we only accept UUID as a parameter type. UUIDs are converted to strings.

Enums

Parser.FormatCode