public final class PublicClassMapper extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
convertToCustomClass(com.google.firestore.v1.Document document,
Class<T> clazz) |
static <T> Map<String,com.google.firestore.v1.Value> |
convertToFirestoreTypes(T entity) |
static <T> com.google.firestore.v1.Value |
convertToFirestoreValue(T entity) |
public static <T> com.google.firestore.v1.Value convertToFirestoreValue(T entity)
public static <T> Map<String,com.google.firestore.v1.Value> convertToFirestoreTypes(T entity)
public static <T> T convertToCustomClass(com.google.firestore.v1.Document document,
Class<T> clazz)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.