com.factual.driver
Class FieldFilter

java.lang.Object
  extended by com.factual.driver.FieldFilter
All Implemented Interfaces:
Filter

public class FieldFilter
extends Object
implements Filter


Constructor Summary
FieldFilter(String op, String fieldName, Object arg)
           
 
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
 

Constructor Detail

FieldFilter

public FieldFilter(String op,
                   String fieldName,
                   Object arg)
Method Detail

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.