com.factual.driver
Class FieldFilter
java.lang.Object
com.factual.driver.FieldFilter
- All Implemented Interfaces:
- Filter
public class FieldFilter
- extends Object
- implements Filter
|
Method Summary |
String |
toJsonStr()
Produces JSON representation of the represented filter logic. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldFilter
public FieldFilter(String op,
String fieldName,
Object arg)
toJsonStr
public String toJsonStr()
- Produces JSON representation of the represented filter logic.
For example:
{"first": {"$eq":"Jack"}}
{"first": {"$in":"a, b, c"}}
- Specified by:
toJsonStr in interface Filter
Copyright © 2012. All Rights Reserved.