Trait

tech.scoundrel.mongodb

MongoDocumentMeta

Related Doc: package mongodb

Permalink

trait MongoDocumentMeta[BaseDocument] extends JsonObjectMeta[BaseDocument] with MongoMeta[BaseDocument]

Linear Supertypes
MongoMeta[BaseDocument], JsonFormats, JsonObjectMeta[BaseDocument], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoDocumentMeta
  2. MongoMeta
  3. JsonFormats
  4. JsonObjectMeta
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit lazy val _formats: Formats

    Permalink
    Definition Classes
    JsonFormats
  5. lazy val allFormats: Formats

    Permalink
    Definition Classes
    JsonFormats
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def collectionName: String

    Permalink

    The name of the database collection.

    The name of the database collection. Override this method if you want to change the collection to something other than the name of the class with an 's' appended to the end.

    Definition Classes
    MongoMeta
  9. def connectionIdentifier: ConnectionIdentifier

    Permalink

    Override this to specify a ConnectionIdentifier.

    Override this to specify a ConnectionIdentifier.

    Definition Classes
    MongoDocumentMetaMongoMeta
  10. def count(qry: JObject): Long

    Permalink
    Definition Classes
    MongoMeta
  11. def count(qry: DBObject): Long

    Permalink
    Definition Classes
    MongoMeta
  12. def count: Long

    Permalink
    Definition Classes
    MongoMeta
  13. def countDistinct(key: String, query: DBObject): Long

    Permalink
    Definition Classes
    MongoMeta
  14. def create(dbo: DBObject): BaseDocument

    Permalink
  15. def create(in: JObject)(implicit formats: Formats): BaseDocument

    Permalink
    Definition Classes
    JsonObjectMeta
  16. def createIndex(keys: JObject, opts: JObject): Unit

    Permalink
    Definition Classes
    MongoMeta
  17. def createIndex(keys: JObject, unique: Boolean = false): Unit

    Permalink
    Definition Classes
    MongoMeta
  18. def delete(qry: JObject): Unit

    Permalink
    Definition Classes
    MongoMeta
  19. def delete(k: String, v: Any): Unit

    Permalink
    Definition Classes
    MongoMeta
  20. def delete(qry: DBObject): Unit

    Permalink
    Definition Classes
    MongoMeta
  21. def drop: Unit

    Permalink
    Definition Classes
    MongoMeta
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def find(json: JObject): Option[BaseDocument]

    Permalink

    Find a single document by a qry using a json query

  26. def find(k: String, v: Any): Option[BaseDocument]

    Permalink

    Find a single document by a qry using String, Any inputs

  27. def find(uuid: UUID): Option[BaseDocument]

    Permalink

    Find a single document by _id using a UUID.

  28. def find(oid: ObjectId): Option[BaseDocument]

    Permalink

    Find a single document by _id using an ObjectId.

  29. def find(s: String): Option[BaseDocument]

    Permalink

    Find a single document by _id using a String.

  30. def find(qry: DBObject): Option[BaseDocument]

    Permalink

    Find a single row by a qry, using a DBObject.

  31. def findAll(k: String, o: Any, sort: JObject, opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a k, v query with JObject sort

  32. def findAll(k: String, o: Any, opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a k, v query

  33. def findAll(qry: JObject, sort: JObject, opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a JObject query with sort

  34. def findAll(qry: JObject, opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a JObject query

  35. def findAll(qry: DBObject, sort: DBObject, opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a DBObject query with sort

  36. def findAll(qry: DBObject, opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a DBObject query.

  37. def findAll(qry: DBObject, sort: Option[DBObject], opts: FindOption*): List[BaseDocument]

    Permalink

    Find all documents using a DBObject query.

  38. def findAll: List[BaseDocument]

    Permalink

    Find all documents in this collection

  39. def fixCollectionName: String

    Permalink
    Definition Classes
    MongoMeta
  40. def formats: Formats

    Permalink
    Definition Classes
    JsonFormats
  41. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  42. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. def save(in: BaseDocument, db: DB): Unit

    Permalink
  48. def save(in: BaseDocument): Unit

    Permalink
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. def toJObject(in: BaseDocument)(implicit formats: Formats): JObject

    Permalink
    Definition Classes
    JsonObjectMeta
  51. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  52. def update(qry: JObject, newbd: BaseDocument, opts: UpdateOption*): Unit

    Permalink
  53. def update(qry: JObject, newbd: BaseDocument, db: DB, opts: UpdateOption*): Unit

    Permalink
  54. def update(qry: JObject, newobj: JObject, opts: UpdateOption*): Unit

    Permalink
    Definition Classes
    MongoMeta
  55. def update(qry: JObject, newobj: JObject, db: DB, opts: UpdateOption*): Unit

    Permalink
    Definition Classes
    MongoMeta
  56. def update(qry: DBObject, newobj: DBObject, db: DB, opts: UpdateOption*): Unit

    Permalink
    Definition Classes
    MongoMeta
  57. def useColl[T](f: (DBCollection) ⇒ T): T

    Permalink
    Definition Classes
    MongoDocumentMetaMongoMeta
  58. def useDb[T](f: (DB) ⇒ T): T

    Permalink
    Definition Classes
    MongoDocumentMetaMongoMeta
  59. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MongoMeta[BaseDocument]

Inherited from JsonFormats

Inherited from JsonObjectMeta[BaseDocument]

Inherited from AnyRef

Inherited from Any

Ungrouped