@Immutable public class EntityAccessor<E> extends Object
| Modifier and Type | Method and Description |
|---|---|
Object |
get(E object,
Iterable<Schema.Field> fields) |
Object |
get(E object,
String name) |
Schema |
getReadSchema() |
Class<E> |
getType() |
Schema |
getWriteSchema() |
StorageKey |
keyFor(E object,
Map<String,Object> provided,
StorageKey reuse) |
public Schema getReadSchema()
public Schema getWriteSchema()
public Object get(E object, Iterable<Schema.Field> fields)
public StorageKey keyFor(E object, @Nullable Map<String,Object> provided, StorageKey reuse)
Copyright © 2013–2015. All rights reserved.