Packages

c

com.outr.giantscala

DBCollection

abstract class DBCollection[T <: ModelObject] extends Implicits

Linear Supertypes
Implicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DBCollection
  2. Implicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DBCollection(collectionName: String, db: MongoDatabase)

Type Members

  1. implicit class EnhancedFuture[Result] extends AnyRef
  2. implicit class AggregateInstructions extends AnyRef
    Definition Classes
    Implicits
  3. implicit class FieldExtras[T] extends AnyRef
    Definition Classes
    Implicits

Abstract Value Members

  1. abstract val converter: Converter[T]
  2. abstract def indexes: List[Index]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val aggregate: AggregateBuilder[T, T]
  5. def all(limit: Int = 1000): Future[List[T]]
  6. def and(conditions: MatchCondition*): MatchCondition
    Definition Classes
    Implicits
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. lazy val batch: Batch[T]
  9. def byIds(ids: Seq[String]): Future[List[T]]
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. lazy val collection: MongoCollection[Document]
  12. val collectionName: String
  13. def count(): Future[Long]
  14. def create(): Future[Unit]
  15. val db: MongoDatabase
  16. def delete(ids: Seq[String]): Future[Either[DBFailure, Int]]
  17. def delete(id: String): Future[Either[DBFailure, Unit]]
  18. def drop(): Future[Unit]
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def field[T](name: String): Field[T]
    Definition Classes
    Implicits
  22. implicit def field2String[T](field: Field[T]): String
    Definition Classes
    Implicits
  23. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def get(id: String): Future[Option[T]]
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def insert(value: T): Future[Either[DBFailure, T]]
  28. def insert(values: Seq[T]): Future[Either[DBFailure, Seq[T]]]
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def largeSample(size: Int, groupSize: Int, retries: Int = 2, samples: Set[T] = Set.empty): Future[Either[DBFailure, Set[T]]]
  31. lazy val monitor: CollectionMonitor[T]
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def or(conditions: MatchCondition*): MatchCondition
    Definition Classes
    Implicits
  36. def sample(size: Int, retries: Int = 2): Future[Either[DBFailure, List[T]]]
  37. def sum(name: String): ProjectField
    Definition Classes
    Implicits
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def update(values: Seq[T]): Future[BulkWriteResult]
  41. def update(value: T): Future[Either[DBFailure, T]]
  42. def upsert(values: Seq[T]): Future[BulkWriteResult]
  43. def upsert(value: T): Future[Either[DBFailure, T]]
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Implicits

Inherited from AnyRef

Inherited from Any

Ungrouped