trait RegexOp extends QueryOperator
$regex operator to query by type.
Takes a string for use in the $regex query
"foo" $regex "\^bar$"
- Since
2.6.2
- See also
http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-%7B%7B%24type%7D%7D
- Alphabetic
- By Inheritance
- RegexOp
- QueryOperator
- ChainedOperator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
field: String
- Definition Classes
- ChainedOperator
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def $regex(arg: String): Imports.DBObject with QueryExpressionObject
-
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( ... )
-
val
dbObj: Option[commons.Imports.DBObject]
- Attributes
- protected
- Definition Classes
- ChainedOperator
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
queryEq(target: Any): Imports.DBObject with QueryExpressionObject
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
-
def
queryOp(oper: String, target: Any): Imports.DBObject with QueryExpressionObject
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )