com.factual.driver
Class QueryBuilder
java.lang.Object
com.factual.driver.QueryBuilder
public class QueryBuilder
- extends Object
Provides fluent interface to specifying row filter predicate logic.
- Author:
- aaron
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryBuilder
public QueryBuilder(Query query,
String fieldName)
- Constructor. Specifies the name of the field for which to build filter
logic. Instance methods are used to specify the desired logic.
search
public Query search(Object arg)
- Specifies a full text search.
- Parameters:
arg - the term(s) for which to full text search against.
- Returns:
- the represented query, with the specified full text search added
in.
equal
public Query equal(Object arg)
notEqual
public Query notEqual(Object arg)
in
public Query in(List<Object> args)
in
public Query in(Object... args)
notIn
public Query notIn(List<Object> args)
notIn
public Query notIn(Object... args)
beginsWith
public Query beginsWith(String arg)
notBeginsWith
public Query notBeginsWith(String arg)
beginsWithAny
public Query beginsWithAny(Object... args)
notBeginsWithAny
public Query notBeginsWithAny(Object... args)
blank
public Query blank()
notBlank
public Query notBlank()
greaterThan
public Query greaterThan(Object arg)
greaterThanOrEqual
public Query greaterThanOrEqual(Object arg)
lessThan
public Query lessThan(Object arg)
lessThanOrEqual
public Query lessThanOrEqual(Object arg)
Copyright © 2012. All Rights Reserved.