com.leanengine
Class QueryFilter

java.lang.Object
  extended by com.leanengine.QueryFilter

public class QueryFilter
extends java.lang.Object

A holder class containing query filter properties.


Method Summary
 LeanQuery.FilterOperator getOperator()
          Returns the filter operator of the query filter.
 java.lang.String getProperty()
          Returns the name of the property the query filters on.
 java.lang.Object getValue()
          Returns the value of query filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperty

public java.lang.String getProperty()
Returns the name of the property the query filters on.

Returns:
Name of the property the query filters on.

getOperator

public LeanQuery.FilterOperator getOperator()
Returns the filter operator of the query filter.

Returns:
LeanQuery.FilterOperator

getValue

public java.lang.Object getValue()
Returns the value of query filter. It's an instance of a supported datastore type.

Returns:
Value of query filter.