public interface Mapper
| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.datastore.ValueBuilder<?,?,?> |
toDatastore(Object input)
Maps the given Model object to native Cloud Datastore value.
|
Object |
toModel(com.google.cloud.datastore.Value<?> input)
Maps the given native Cloud Datastore value to equivalent model object.
|
com.google.cloud.datastore.ValueBuilder<?,?,?> toDatastore(Object input)
input - the input to mapMappingException - if the input is not compatible.Object toModel(com.google.cloud.datastore.Value<?> input)
input - the native Cloud Datastore valueMappingException - if the input is not compatible.Copyright © 2016. All rights reserved.