org
.
ada
.
server
.
dataaccess
.
mongo
MongoAsyncRepo
Related Doc:
package mongo
class
MongoAsyncRepo
[
E
,
ID
]
extends
MongoAsyncReadonlyRepo
[
E
,
ID
] with
AsyncRepo
[
E
,
ID
]
Attributes
protected
Linear Supertypes
AsyncRepo
[
E
,
ID
],
MongoAsyncReadonlyRepo
[
E
,
ID
],
AsyncReadonlyRepo
[
E
,
ID
],
AnyRef
,
Any
Known Subclasses
MongoAsyncCrudRepo
,
MongoAsyncStreamRepo
Ordering
Alphabetic
By Inheritance
Inherited
MongoAsyncRepo
AsyncRepo
MongoAsyncReadonlyRepo
AsyncReadonlyRepo
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
MongoAsyncRepo
(
collectionName:
String
)
(
implicit
arg0:
Format
[
E
]
,
arg1:
Format
[
ID
]
,
identity:
Identity
[
E
,
ID
]
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
lazy val
collection
:
JSONCollection
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
def
count
(
criteria:
Seq
[
Criterion
[
Any
]]
)
:
Future
[
Int
]
Definition Classes
MongoAsyncReadonlyRepo
→ AsyncReadonlyRepo
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
exists
(
id:
ID
)
:
Future
[
Boolean
]
Definition Classes
MongoAsyncReadonlyRepo
→ AsyncReadonlyRepo
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
find
(
criteria:
Seq
[
Criterion
[
Any
]]
,
sort:
Seq
[
Sort
]
,
projection:
Traversable
[
String
]
,
limit:
Option
[
Int
]
,
skip:
Option
[
Int
]
)
:
Future
[
Traversable
[
E
]]
Definition Classes
MongoAsyncReadonlyRepo
→ AsyncReadonlyRepo
def
findAsCursor
(
criteria:
Seq
[
Criterion
[
Any
]]
,
sort:
Seq
[
Sort
]
,
projection:
Traversable
[
String
]
,
limit:
Option
[
Int
]
,
skip:
Option
[
Int
]
)
:
Future
[
AkkaStreamCursor
[
E
]]
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
def
findAsStream
(
criteria:
Seq
[
Criterion
[
Any
]]
,
sort:
Seq
[
Sort
]
,
projection:
Traversable
[
String
]
,
limit:
Option
[
Int
]
,
skip:
Option
[
Int
]
)
:
Future
[
Source
[
E
, _]]
Definition Classes
MongoAsyncReadonlyRepo
→ AsyncReadonlyRepo
def
flushOps
:
Future
[
Unit
]
Definition Classes
MongoAsyncRepo
→ AsyncRepo
def
get
(
id:
ID
)
:
Future
[
Option
[
E
]]
Definition Classes
MongoAsyncReadonlyRepo
→ AsyncReadonlyRepo
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
handleExceptions
[
A
]
:
PartialFunction
[
Throwable
,
A
]
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
def
handleResult
(
result:
WriteResult
)
:
Unit
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
identityName
:
String
Definition Classes
MongoAsyncReadonlyRepo
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
logger
:
Logger
.type
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
val
materializer
:
ActorMaterializer
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
reactiveMongoApi
:
ReactiveMongoApi
Definition Classes
MongoAsyncReadonlyRepo
def
save
(
entities:
Traversable
[
E
]
)
:
Future
[
Traversable
[
ID
]]
Definition Classes
MongoAsyncRepo
→ AsyncRepo
def
save
(
entity:
E
)
:
Future
[
ID
]
Definition Classes
MongoAsyncRepo
→ AsyncRepo
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toMongoCondition
[
T
,
V
]
(
criterion:
Criterion
[
T
]
)
:
JsObject
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
def
toMongoCriteria
(
criteria:
Seq
[
Criterion
[
Any
]]
)
:
JsObject
Attributes
protected
Definition Classes
MongoAsyncReadonlyRepo
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AsyncRepo
[
E
,
ID
]
Inherited from
MongoAsyncReadonlyRepo
[
E
,
ID
]
Inherited from
AsyncReadonlyRepo
[
E
,
ID
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped