Interface GoogleCloudFirestoreConnector
- All Superinterfaces:
AutoCloseable
,BlobStoreConnector
- All Known Implementing Classes:
GoogleCloudFirestoreConnector.Default
public interface GoogleCloudFirestoreConnector extends BlobStoreConnector
Connector for the Google cloud firestore.
First create a firestore connection.
Firestore firestore = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( GoogleCloudFirestoreConnector.New(firestore) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GoogleCloudFirestoreConnector.Default
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.types.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Method Summary
Static Methods Modifier and Type Method Description static GoogleCloudFirestoreConnector
Caching(com.google.cloud.firestore.Firestore firestore)
Pseudo-constructor method which creates a newGoogleCloudFirestoreConnector
with cache.static GoogleCloudFirestoreConnector
New(com.google.cloud.firestore.Firestore firestore)
Pseudo-constructor method which creates a newGoogleCloudFirestoreConnector
.Methods inherited from interface one.microstream.afs.blobstore.types.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, isEmpty, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
New
Pseudo-constructor method which creates a newGoogleCloudFirestoreConnector
.- Parameters:
firestore
- connection to the Google firestore service- Returns:
- a new
GoogleCloudFirestoreConnector
-
Caching
Pseudo-constructor method which creates a newGoogleCloudFirestoreConnector
with cache.- Parameters:
firestore
- connection to the Google firestore service- Returns:
- a new
GoogleCloudFirestoreConnector
-