public interface SpannerEntityWriter extends org.springframework.data.convert.EntityWriter<Object,com.google.cloud.spanner.Mutation.WriteBuilder>
| Modifier and Type | Method and Description |
|---|---|
void |
write(Object source,
com.google.cloud.spanner.Mutation.WriteBuilder sink,
Set<String> includeColumns)
Writes an object's properties to the sink.
|
com.google.cloud.spanner.Key |
writeToKey(Object key) |
void write(Object source, com.google.cloud.spanner.Mutation.WriteBuilder 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.com.google.cloud.spanner.Key writeToKey(Object key)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.