Class BinaryParser (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass BinaryParserextendsParser<ByteArray>Parse specified type to binary (generally this is the simplest parse class, as items are generally represented in binary for wire format).
Inherited Members
Static Methods
convertToPG(ResultSet resultSet, int position, ProxyServer.DataFormat format)
publicstaticbyte[]convertToPG(ResultSetresultSet,intposition,ProxyServer.DataFormatformat) Name
Description
resultSet
com.google.cloud.spanner.ResultSet Type
Description
byte[]
toByteArray(byte[] data)
publicstaticByteArraytoByteArray(byte[]data)Converts the binary data to a ByteArray.
Name
Description
Returns
Type
Description
com.google.cloud.ByteArray
Methods
binaryParse()
protectedbyte[]binaryParse()Used to parse data type onto binary. Override this to change binary representation.
Type
Description
byte[]
bind(Statement.Builder statementBuilder, String name)
publicvoidbind(Statement.BuilderstatementBuilder,Stringname) Name
Description
statementBuilder
com.google.cloud.spanner.Statement.BuilderspannerBinaryParse()
protectedbyte[]spannerBinaryParse() Type
Description
byte[]
stringParse()
publicStringstringParse()Used to parse data type into string. Override this to change the string representation.
Type
Description
Overrides