class FirestoreRepository extends RepositoryWithEntityStream
Environment variable GOOGLE_APPLICATION_CREDENTIALS needs setting for this to work
- See also
https://firebase.google.com/docs/admin/setup
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FirestoreRepository
- RepositoryWithEntityStream
- Repository
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FirestoreRepository(databaseUrl: String, collectionName: String, subCollectionName: String = "records")(implicit ec: ExecutionContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val address: InetSocketAddress
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val db: Firestore
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getAllCommits(id: GUID): Seq[CommittedEvent]
- Definition Classes
- FirestoreRepository → RepositoryWithEntityStream
-
def
getById[T <: AggregateRoot](id: GUID, tmpl: T)(implicit arg0: ClassTag[T]): T
- Definition Classes
- FirestoreRepository → Repository
- def getByIdOpt[T <: AggregateRoot](id: GUID, tmpl: T)(implicit arg0: ClassTag[T]): Option[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
val
jsonFormats: Formats
- Attributes
- protected
- val logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val options: FirebaseOptions
-
def
purge(id: GUID): Unit
- Definition Classes
- FirestoreRepository → RepositoryWithEntityStream
-
def
readLinesForId[T <: DomainEvent](id: GUID)(implicit mf: Manifest[T]): Seq[CommittedEvent]
- Attributes
- protected
-
def
save(aggregate: AggregateRoot, expectedVersion: Int): Future[Unit]
- Definition Classes
- FirestoreRepository → Repository
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val transport: HttpTransport
- val transportFactory: HttpTransportFactory
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.