trait Filter extends AnyRef
- Alphabetic
- By Inheritance
- Filter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
and(anotherFilter: Filter): Filter
Creates a filter that performs a logical AND of the provided filter.
Creates a filter that performs a logical AND of the provided filter.
eq("x", 1).and(lt("y", 3))
will generate a MongoDB query like:
{ $and: [{x : 1}, {y : {$lt : 3}}]}
{ $and: [{x : 1}, {y : {$lt : 3}}]}
eq("x", 1).and(lt("y", 3))
will generate a MongoDB query like:
{ $and: [{x : 1}, {y : {$lt : 3}}]}
{ $and: [{x : 1}, {y : {$lt : 3}}]}
- anotherFilter
the filter to and together
- returns
the filter
-
abstract
def
nor(anotherFilter: Filter): Filter
Creates a filter that performs a logical NOR operation on the specified filters.
Creates a filter that performs a logical NOR operation on the specified filters.
- anotherFilter
the filter to or together
- returns
the filter
-
abstract
def
not: Filter
Creates a filter that matches all documents that do not match the passed in filter.
Creates a filter that matches all documents that do not match the passed in filter. Lifts the current filter to create a valid "$not" query:
eq("x", 1).not
will generate a MongoDB query like:
{x : $not: {$eq : 1}}
{x : $not: {$eq : 1}}
eq("x", 1).not
will generate a MongoDB query like:
{x : $not: {$eq : 1}}
{x : $not: {$eq : 1}}
- returns
the filter
-
abstract
def
or(anotherFilter: Filter): Filter
Creates a filter that preforms a logical OR of the provided filter.
Creates a filter that preforms a logical OR of the provided filter.
- anotherFilter
the filter to or together
- returns
the filter
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def &&(anotherFilter: Filter): Filter
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ||(anotherFilter: Filter): Filter
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated