com.senseidb.search.client.json.req
Class Selection

java.lang.Object
  extended by com.senseidb.search.client.json.req.Selection
All Implemented Interfaces:
Filter
Direct Known Subclasses:
Selection.Custom, Selection.Path, Selection.Range, Term, Terms

public abstract class Selection
extends Object
implements Filter


Nested Class Summary
static class Selection.Custom
           
static class Selection.Path
           
static class Selection.Range
           Matches documents with fields that have terms within a certain range.
 
Nested classes/interfaces inherited from interface com.senseidb.search.client.json.req.filter.Filter
Filter.AndOr
 
Constructor Summary
Selection()
           
 
Method Summary
static Selection custom(org.json.JSONObject custom)
           
 String getField()
           
static Selection path(String field, String value, boolean strict, int depth)
           
static Selection range(String field, String from, String to)
           
static Selection range(String field, String from, String to, boolean includeLower, boolean includeUpper)
           
 Selection setField(String field)
           
static Selection terms(String field, List<String> values, List<String> excludes, Operator op)
           
static Selection terms(String field, String... values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selection

public Selection()
Method Detail

getField

public String getField()

setField

public Selection setField(String field)

terms

public static Selection terms(String field,
                              String... values)

terms

public static Selection terms(String field,
                              List<String> values,
                              List<String> excludes,
                              Operator op)

range

public static Selection range(String field,
                              String from,
                              String to,
                              boolean includeLower,
                              boolean includeUpper)

range

public static Selection range(String field,
                              String from,
                              String to)

path

public static Selection path(String field,
                             String value,
                             boolean strict,
                             int depth)

custom

public static Selection custom(org.json.JSONObject custom)


Copyright © 2010-2012. All Rights Reserved.