Class DoubleParser (0.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass DoubleParserextendsParser<Double>Translate from wire protocol to double.
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[]
toDouble(byte[] data)
publicstaticdoubletoDouble(byte[]data)Converts the binary data to a double value.
Name
Description
Returns
Type
Description
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.BuilderstringParse()
publicStringstringParse()Used to parse data type into string. Override this to change the string representation.
Type
Description
Overrides