public interface SpannerEntityWriter extends org.springframework.data.convert.EntityWriter<Object,MultipleValueBinder>
| Modifier and Type | Method and Description |
|---|---|
Key |
convertToKey(Object key)
Convert a given object to a Cloud Spanner key.
|
SpannerWriteConverter |
getSpannerWriteConverter()
Get the SpannerWriteConverter used to convert types into Cloud Spanner compatible
types.
|
void |
write(Object source,
MultipleValueBinder sink,
Set<String> includeColumns)
Writes an object's properties to the sink.
|
void write(Object source, MultipleValueBinder sink, Set<String> includeColumns)
source - the object to writesink - the sink to which to writeincludeColumns - the properties/columns to write. If null, then all columns are
written.Key convertToKey(Object key)
key - the object containing the key values. This can already be a Cloud Spanner
key, a single key component, or an array of key components.SpannerWriteConverter getSpannerWriteConverter()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.