public class LongParser extends Parser<Long>
Translate from wire protocol to long.
Static Methods
toLong(byte[] data)
public static long toLong(byte[] data)
Converts the binary data to a long value.
Name | Description |
data | byte[] |
Type | Description |
long |
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 |