Class Internal (3.24.3)

public class Internal

Inheritance

Object > Internal

Static Methods

autoId()

public static String autoId()
Returns
Type Description
String

Constructors

Internal(FirestoreImpl firestore)

public Internal(FirestoreImpl firestore)
Parameter
Name Description
firestore com.google.cloud.firestore.FirestoreImpl

Internal(FirestoreOptions firestoreOptions, FirestoreRpc firestoreRpc)

public Internal(FirestoreOptions firestoreOptions, FirestoreRpc firestoreRpc)
Parameters
Name Description
firestoreOptions FirestoreOptions
firestoreRpc FirestoreRpc

Methods

protoFromSnapshot(DocumentSnapshot snapshot)

public Map<String,Value> protoFromSnapshot(DocumentSnapshot snapshot)
Parameter
Name Description
snapshot DocumentSnapshot
Returns
Type Description
Map<String,Value>

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

public DocumentSnapshot snapshotFromMap(String documentPath, Map<String,Object> data)
Parameters
Name Description
documentPath String
data Map<String,Object>
Returns
Type Description
DocumentSnapshot

snapshotFromObject(String documentPath, Object pojo)

public DocumentSnapshot snapshotFromObject(String documentPath, Object pojo)
Parameters
Name Description
documentPath String
pojo Object
Returns
Type Description
DocumentSnapshot

snapshotFromProto(Timestamp readTime, Document document)

public DocumentSnapshot snapshotFromProto(Timestamp readTime, Document document)
Parameters
Name Description
readTime com.google.cloud.Timestamp
document Document
Returns
Type Description
DocumentSnapshot