public class DoubleParser extends Parser<Double>
Translate from wire protocol to double.
Static Methods
toDouble(byte[] data)
public static double toDouble(byte[] data)
Converts the binary data to a double value.
Name | Description |
data | byte[] |
Type | Description |
double |
Methods
binaryParse()
protected byte[] binaryParse()
Used to parse data type onto binary. Override this to change binary representation.
Type | Description |
byte[] |
bind(Statement.Builder statementBuilder, String name)
public void bind(Statement.Builder statementBuilder, String name)
Name | Description |
statementBuilder | com.google.cloud.spanner.Statement.Builder |
name | String |
stringParse()
public String stringParse()
Used to parse data type into string. Override this to change the string representation.
Type | Description |
String |