Trait

com.mongodb.casbah.query.dsl

NotOp

Related Doc: package dsl

Permalink

trait NotOp extends QueryOperator

Trait to provide the $not (Not) negation method on appropriate callers.

Make sure your anchor it when you have multiple operators e.g.

"foo".$not $mod(5, 10)

Targets (takes a right-hand value of) DBObject or a Scala RegEx

See also

http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-Metaoperator%3A%24not

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NotOp
  2. QueryOperator
  3. ChainedOperator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def field: String

    Permalink
    Definition Classes
    ChainedOperator

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def $not(re: Pattern): Imports.DBObject with QueryExpressionObject

    Permalink
  4. def $not(re: Regex): Imports.DBObject with QueryExpressionObject

    Permalink
  5. def $not(inner: (FluidQueryOperators) ⇒ Imports.DBObject): Imports.DBObject

    Permalink
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var dbObj: Option[commons.Imports.DBObject]

    Permalink
    Attributes
    protected
    Definition Classes
    ChainedOperator
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def queryEq(target: Any): Imports.DBObject with QueryExpressionObject

    Permalink

    Base method for children to call to convert an operator call into a Mongo DBObject.

    Base method for children to call to convert an operator call into a Mongo DBObject.

    e.g. "foo" $eq "bar" will convert to {"foo": "bar"}

    WARNING: This does NOT check that target is a serializable type. That is, for the moment, your own problem.

    Attributes
    protected
    Definition Classes
    QueryOperator
  20. def queryOp(oper: String, target: Any): Imports.DBObject with QueryExpressionObject

    Permalink

    Base method for children to call to convert an operator call into a nested Mongo DBObject.

    Base method for children to call to convert an operator call into a nested Mongo DBObject.

    e.g. "foo" $ne "bar" will convert to {"foo": {"$ne": "bar"}}

    Optionally, if dbObj, being Some(DBObject) is defined, the op(oper, ) method will nest the target value and operator inside the existing dbObj - this is useful for things like mixing $lte and $gte WARNING: This does NOT check that target is a serializable type. That is, for the moment, your own problem.

    Attributes
    protected
    Definition Classes
    QueryOperator
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from QueryOperator

Inherited from ChainedOperator

Inherited from AnyRef

Inherited from Any

Ungrouped