public class FieldEndImpl<T extends CriteriaContainerImpl> extends Object implements FieldEnd<T>
Constructor and Description |
---|
FieldEndImpl(QueryImpl<?> query,
String field,
T target,
boolean validateName) |
Modifier and Type | Method and Description |
---|---|
T |
contains(String string) |
T |
containsIgnoreCase(String string) |
T |
doesNotExist() |
T |
endsWith(String suffix) |
T |
endsWithIgnoreCase(String suffix) |
T |
equal(Object val) |
T |
exists() |
T |
greaterThan(Object val) |
T |
greaterThanOrEq(Object val) |
T |
hasAllOf(Iterable<?> values) |
T |
hasAnyOf(Iterable<?> values) |
T |
hasNoneOf(Iterable<?> values) |
T |
hasThisElement(Object val) |
T |
hasThisOne(Object val) |
T |
in(Iterable<?> values) |
T |
lessThan(Object val) |
T |
lessThanOrEq(Object val) |
T |
mod(long divisor,
long remainder) |
T |
near(double x,
double y) |
T |
near(double x,
double y,
boolean spherical) |
T |
near(double x,
double y,
double radius) |
T |
near(double x,
double y,
double radius,
boolean spherical) |
FieldEnd<T> |
not() |
T |
notEqual(Object val) |
T |
notIn(Iterable<?> values) |
T |
sizeEq(int val) |
T |
startsWith(String prefix) |
T |
startsWithIgnoreCase(String prefix) |
T |
within(double x,
double y,
double radius) |
T |
within(double x,
double y,
double radius,
boolean spherical) |
T |
within(double x1,
double y1,
double x2,
double y2) |
T |
within(Shape shape)
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.
|
public FieldEnd<T> not()
not
in interface FieldEnd<T extends CriteriaContainerImpl>
public T startsWith(String prefix)
startsWith
in interface FieldEnd<T extends CriteriaContainerImpl>
public T startsWithIgnoreCase(String prefix)
startsWithIgnoreCase
in interface FieldEnd<T extends CriteriaContainerImpl>
public T endsWith(String suffix)
endsWith
in interface FieldEnd<T extends CriteriaContainerImpl>
public T endsWithIgnoreCase(String suffix)
endsWithIgnoreCase
in interface FieldEnd<T extends CriteriaContainerImpl>
public T contains(String string)
contains
in interface FieldEnd<T extends CriteriaContainerImpl>
public T containsIgnoreCase(String string)
containsIgnoreCase
in interface FieldEnd<T extends CriteriaContainerImpl>
public T exists()
exists
in interface FieldEnd<T extends CriteriaContainerImpl>
public T doesNotExist()
doesNotExist
in interface FieldEnd<T extends CriteriaContainerImpl>
public T equal(Object val)
equal
in interface FieldEnd<T extends CriteriaContainerImpl>
public T within(Shape shape)
FieldEnd
within
in interface FieldEnd<T extends CriteriaContainerImpl>
public T greaterThan(Object val)
greaterThan
in interface FieldEnd<T extends CriteriaContainerImpl>
public T greaterThanOrEq(Object val)
greaterThanOrEq
in interface FieldEnd<T extends CriteriaContainerImpl>
public T hasThisOne(Object val)
hasThisOne
in interface FieldEnd<T extends CriteriaContainerImpl>
public T hasAllOf(Iterable<?> values)
hasAllOf
in interface FieldEnd<T extends CriteriaContainerImpl>
public T hasAnyOf(Iterable<?> values)
hasAnyOf
in interface FieldEnd<T extends CriteriaContainerImpl>
public T in(Iterable<?> values)
in
in interface FieldEnd<T extends CriteriaContainerImpl>
public T mod(long divisor, long remainder)
mod
in interface FieldEnd<T extends CriteriaContainerImpl>
public T hasThisElement(Object val)
hasThisElement
in interface FieldEnd<T extends CriteriaContainerImpl>
public T hasNoneOf(Iterable<?> values)
hasNoneOf
in interface FieldEnd<T extends CriteriaContainerImpl>
public T notIn(Iterable<?> values)
notIn
in interface FieldEnd<T extends CriteriaContainerImpl>
public T lessThan(Object val)
lessThan
in interface FieldEnd<T extends CriteriaContainerImpl>
public T lessThanOrEq(Object val)
lessThanOrEq
in interface FieldEnd<T extends CriteriaContainerImpl>
public T notEqual(Object val)
notEqual
in interface FieldEnd<T extends CriteriaContainerImpl>
public T sizeEq(int val)
sizeEq
in interface FieldEnd<T extends CriteriaContainerImpl>
public T near(double x, double y)
near
in interface FieldEnd<T extends CriteriaContainerImpl>
public T near(double x, double y, double radius)
near
in interface FieldEnd<T extends CriteriaContainerImpl>
public T near(double x, double y, double radius, boolean spherical)
near
in interface FieldEnd<T extends CriteriaContainerImpl>
public T near(double x, double y, boolean spherical)
near
in interface FieldEnd<T extends CriteriaContainerImpl>
public T within(double x, double y, double radius)
within
in interface FieldEnd<T extends CriteriaContainerImpl>
public T within(double x, double y, double radius, boolean spherical)
within
in interface FieldEnd<T extends CriteriaContainerImpl>
Copyright © 2015. All rights reserved.