com.stackmob.sdkapi
Class SMIn

java.lang.Object
  extended by com.stackmob.sdkapi.SMCondition
      extended by com.stackmob.sdkapi.SMIn

public class SMIn
extends SMCondition

An "in" query


Constructor Summary
SMIn(String field, List<? extends SMValue> values)
          Creates a new SMIn query
SMIn(String field, SMList values)
          Creates a new SMIn query
 
Method Summary
 String getField()
           
 List<? extends SMValue> getValues()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SMIn

public SMIn(String field,
            List<? extends SMValue> values)
Creates a new SMIn query

Parameters:
field - the field to query
values - the set of possible values to match

SMIn

public SMIn(String field,
            SMList values)
Creates a new SMIn query

Parameters:
field - the field to query
values - the set of possible values to match
Method Detail

getField

public String getField()

getValues

public List<? extends SMValue> getValues()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 StackMob. All Rights Reserved.