Package com.pullreports.model.config
Class PreFilter
- Object
-
- com.pullreports.model.config.PreFilter
-
public class PreFilter extends Object
A PreFilter applies a filter condition to all Pull Reports Export Report REST API requests to the containing Table.Schema analog: <pre_filter>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnId
getColumnId()
Operator
getOperator()
List<FilterValue>
getValues()
List<String>
getValuesAsStrings()
Returns a List of the values associated with this Filter as Strings.String
toString()
-
-
-
Constructor Detail
-
PreFilter
public PreFilter(ColumnId columnId, Operator operator, List<FilterValue> values)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classObject
-
getValuesAsStrings
public List<String> getValuesAsStrings()
Returns a List of the values associated with this Filter as Strings. Any value which is an instance of a String will be returned single quoted with any internal single quotes escaped with another single quote.- Returns:
- a List of values associated with this Filter as Strings or an empty List.
-
getColumnId
public ColumnId getColumnId()
-
getOperator
public Operator getOperator()
-
getValues
public List<FilterValue> getValues()
-
-