Class Internal (3.7.3)

Stay organized with collections Save and categorize content based on your preferences.
public class Internal

Inheritance

Object > Internal

Static Methods

autoId()

public static String autoId()
Returns
TypeDescription
String

Constructors

Internal(FirestoreImpl firestore)

public Internal(FirestoreImpl firestore)
Parameter
NameDescription
firestorecom.google.cloud.firestore.FirestoreImpl

Internal(FirestoreOptions firestoreOptions, FirestoreRpc firestoreRpc)

public Internal(FirestoreOptions firestoreOptions, FirestoreRpc firestoreRpc)
Parameters
NameDescription
firestoreOptionsFirestoreOptions
firestoreRpcFirestoreRpc

Methods

protoFromSnapshot(DocumentSnapshot snapshot)

public Map<String,Value> protoFromSnapshot(DocumentSnapshot snapshot)
Parameter
NameDescription
snapshotDocumentSnapshot
Returns
TypeDescription
Map<String,Value>

snapshotFromMap(String documentPath, Map<String,Object> data)

public DocumentSnapshot snapshotFromMap(String documentPath, Map<String,Object> data)
Parameters
NameDescription
documentPathString
dataMap<String,Object>
Returns
TypeDescription
DocumentSnapshot

snapshotFromObject(String documentPath, Object pojo)

public DocumentSnapshot snapshotFromObject(String documentPath, Object pojo)
Parameters
NameDescription
documentPathString
pojoObject
Returns
TypeDescription
DocumentSnapshot

snapshotFromProto(Timestamp readTime, Document document)

public DocumentSnapshot snapshotFromProto(Timestamp readTime, Document document)
Parameters
NameDescription
readTimecom.google.cloud.Timestamp
documentDocument
Returns
TypeDescription
DocumentSnapshot