class
Collection[D <: Document[D]] extends AnyRef
Instance Constructors
-
new
Collection(graph: Graph, model: DocumentModel[D], type: CollectionType, indexes: List[Index])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
final
def
asInstanceOf[T0]: T0
-
def
batch(iterator: Iterator[D], batchSize: Int = 5000, upsert: Boolean = false, waitForSync: Boolean = false, counter: Int = 0)(implicit ec: ExecutionContext): Future[Int]
-
def
clone(): AnyRef
-
def
create(createCollection: Boolean)(implicit ec: ExecutionContext): Future[Unit]
-
def
deleteOne(id: Id[D], waitForSync: Boolean = false, returnOld: Boolean = false, silent: Boolean = false)(implicit ec: ExecutionContext): Future[Id[D]]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
get(id: Id[D])(implicit ec: ExecutionContext): Future[Option[D]]
-
final
def
getClass(): Class[_]
-
val
graph: Graph
-
def
hashCode(): Int
-
val
indexes: List[Index]
-
def
insert(documents: List[D], waitForSync: Boolean = false, returnNew: Boolean = false, returnOld: Boolean = false, silent: Boolean = false)(implicit ec: ExecutionContext): Future[List[DocumentInsert]]
-
def
insertOne(document: D, waitForSync: Boolean = false, returnNew: Boolean = false, returnOld: Boolean = false, silent: Boolean = false)(implicit ec: ExecutionContext): Future[DocumentInsert]
-
final
def
isInstanceOf[T0]: Boolean
-
val
model: DocumentModel[D]
-
def
name: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
query(query: Query): QueryBuilder[D]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
truncate()(implicit ec: ExecutionContext): Future[Unit]
-
val
type: CollectionType
-
def
upsert(documents: List[D], waitForSync: Boolean = false, returnNew: Boolean = false, returnOld: Boolean = false, silent: Boolean = false)(implicit ec: ExecutionContext): Future[List[DocumentInsert]]
-
def
upsertOne(document: D, waitForSync: Boolean = false, returnNew: Boolean = false, returnOld: Boolean = false, silent: Boolean = false)(implicit ec: ExecutionContext): Future[DocumentInsert]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any