se.l4.silo.search.SortItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of silo-search-api Show documentation
Show all versions of silo-search-api Show documentation
API for Lucene-based querying for Silo.
The newest version!
package se.l4.silo.search;
public class SortItem
{
private final String field;
private final boolean ascending;
private final Object params;
public SortItem(String field, boolean ascending, Object params)
{
this.field = field;
this.ascending = ascending;
this.params = params;
}
public String getField()
{
return field;
}
public boolean isAscending()
{
return ascending;
}
public Object getParams()
{
return params;
}
}