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 classGoogleCloudFirestoreConnector.Default-
Nested classes/interfaces inherited from interface org.eclipse.store.afs.blobstore.types.BlobStoreConnector
BlobStoreConnector.Abstract<B extends Object>
-
-
Method Summary
Static Methods Modifier and Type Method Description static GoogleCloudFirestoreConnectorCaching(com.google.cloud.firestore.Firestore firestore)Pseudo-constructor method which creates a newGoogleCloudFirestoreConnectorwith cache.static GoogleCloudFirestoreConnectorNew(com.google.cloud.firestore.Firestore firestore)Pseudo-constructor method which creates a newGoogleCloudFirestoreConnector.-
Methods inherited from interface org.eclipse.store.afs.blobstore.types.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, isEmpty, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
-
-
-
Method Detail
-
New
static GoogleCloudFirestoreConnector New(com.google.cloud.firestore.Firestore firestore)
Pseudo-constructor method which creates a newGoogleCloudFirestoreConnector.- Parameters:
firestore- connection to the Google firestore service- Returns:
- a new
GoogleCloudFirestoreConnector
-
Caching
static GoogleCloudFirestoreConnector Caching(com.google.cloud.firestore.Firestore firestore)
Pseudo-constructor method which creates a newGoogleCloudFirestoreConnectorwith cache.- Parameters:
firestore- connection to the Google firestore service- Returns:
- a new
GoogleCloudFirestoreConnector
-
-