public class BlotterQuery extends Object
Represents a Query to be performed on a blotter, usually parsed by
BlotterRequestParser.parse(java.lang.String)
.
A BlotterQuery is comprised of filters and sorts, which are analogous with the WHERE and ORDER clauses from SQL respectively.
Constructor and Description |
---|
BlotterQuery(List<Filter> filters,
List<Sort> sorts)
Constructs a BlotterQuery
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(Filter filter)
Adds an additional filter to the query.
|
void |
addSort(Sort sort)
Adds an additional sort operation to the query.
|
List<Filter> |
getFilters()
Returns the filters within the query.
|
List<Sort> |
getSorts()
Returns the sorts within the query.
|
public List<Filter> getFilters()
public void addFilter(Filter filter)
filter
- The filter to add.public List<Sort> getSorts()
public void addSort(Sort sort)
sort
- The sort operation to add.Copyright © 2015 Caplin Systems.