public class ConversionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Collection<org.springframework.core.convert.converter.Converter> |
DEFAULT_SPANNER_READ_CONVERTERS
Converters from common types to those used by Spanner.
|
static Collection<org.springframework.core.convert.converter.Converter> |
DEFAULT_SPANNER_WRITE_CONVERTERS
Converters from common types to those used by Spanner.
|
static org.springframework.core.convert.converter.Converter<Instant,com.google.cloud.Timestamp> |
INSTANT_TIMESTAMP_CONVERTER |
static org.springframework.core.convert.converter.Converter<byte[],com.google.cloud.ByteArray> |
JAVA_TO_SPANNER_BYTE_ARRAY_CONVERTER |
static org.springframework.core.convert.converter.Converter<Date,com.google.cloud.Date> |
JAVA_TO_SPANNER_DATE_CONVERTER |
static org.springframework.core.convert.converter.Converter<Timestamp,com.google.cloud.Timestamp> |
JAVA_TO_SPANNER_TIMESTAMP_CONVERTER |
static org.springframework.core.convert.converter.Converter<com.google.cloud.ByteArray,byte[]> |
SPANNER_TO_JAVA_BYTE_ARRAY_CONVERTER |
static org.springframework.core.convert.converter.Converter<com.google.cloud.Date,Date> |
SPANNER_TO_JAVA_DATE_CONVERTER |
static org.springframework.core.convert.converter.Converter<com.google.cloud.Timestamp,Timestamp> |
SPANNER_TO_JAVA_TIMESTAMP_CONVERTER |
static org.springframework.core.convert.converter.Converter<com.google.cloud.Timestamp,Instant> |
TIMESTAMP_INSTANT_CONVERTER |
Constructor and Description |
---|
ConversionUtils() |
public static final org.springframework.core.convert.converter.Converter<Date,com.google.cloud.Date> JAVA_TO_SPANNER_DATE_CONVERTER
public static final org.springframework.core.convert.converter.Converter<com.google.cloud.Date,Date> SPANNER_TO_JAVA_DATE_CONVERTER
public static final org.springframework.core.convert.converter.Converter<Instant,com.google.cloud.Timestamp> INSTANT_TIMESTAMP_CONVERTER
public static final org.springframework.core.convert.converter.Converter<com.google.cloud.Timestamp,Instant> TIMESTAMP_INSTANT_CONVERTER
public static final org.springframework.core.convert.converter.Converter<Timestamp,com.google.cloud.Timestamp> JAVA_TO_SPANNER_TIMESTAMP_CONVERTER
public static final org.springframework.core.convert.converter.Converter<com.google.cloud.Timestamp,Timestamp> SPANNER_TO_JAVA_TIMESTAMP_CONVERTER
public static final org.springframework.core.convert.converter.Converter<byte[],com.google.cloud.ByteArray> JAVA_TO_SPANNER_BYTE_ARRAY_CONVERTER
public static final org.springframework.core.convert.converter.Converter<com.google.cloud.ByteArray,byte[]> SPANNER_TO_JAVA_BYTE_ARRAY_CONVERTER
public static final Collection<org.springframework.core.convert.converter.Converter> DEFAULT_SPANNER_WRITE_CONVERTERS
public static final Collection<org.springframework.core.convert.converter.Converter> DEFAULT_SPANNER_READ_CONVERTERS
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.