public class AndGeoFilter extends java.lang.Object implements core.tut.pori.dao.filter.AbstractQueryFilter
DEFAULT_FILTER_TYPE
.Modifier and Type | Class and Description |
---|---|
static class |
AndGeoFilter.FilterType
Solr spatial filter type as defined in Solr documentation
|
Modifier and Type | Field and Description |
---|---|
static AndGeoFilter.FilterType |
DEFAULT_FILTER_TYPE
the default filter type
|
Constructor and Description |
---|
AndGeoFilter(java.lang.String fieldName,
Location location,
AndGeoFilter.FilterType filterType,
java.lang.Double range) |
AndGeoFilter(java.lang.String fieldName,
Location location,
java.lang.Double range) |
Modifier and Type | Method and Description |
---|---|
AndGeoFilter.FilterType |
getFilterType() |
core.tut.pori.dao.filter.AbstractQueryFilter.QueryType |
getQueryType() |
void |
toFilterString(java.lang.StringBuilder fq) |
public static final AndGeoFilter.FilterType DEFAULT_FILTER_TYPE
public AndGeoFilter(java.lang.String fieldName, Location location, java.lang.Double range) throws java.lang.IllegalArgumentException
fieldName
- location
- range
- java.lang.IllegalArgumentException
public AndGeoFilter(java.lang.String fieldName, Location location, AndGeoFilter.FilterType filterType, java.lang.Double range) throws java.lang.IllegalArgumentException
fieldName
- location
- filterType
- range
- java.lang.IllegalArgumentException
public void toFilterString(java.lang.StringBuilder fq)
toFilterString
in interface core.tut.pori.dao.filter.AbstractQueryFilter
public core.tut.pori.dao.filter.AbstractQueryFilter.QueryType getQueryType()
getQueryType
in interface core.tut.pori.dao.filter.AbstractQueryFilter
public AndGeoFilter.FilterType getFilterType()
Copyright © 2015-2018 Tampere University of Technology, Pori Department.