Class Filter.NotEmptyLocationFilter
- java.lang.Object
-
- com.rbmhtechnology.vind.api.query.filter.Filter
-
- com.rbmhtechnology.vind.api.query.filter.FieldBasedFilter
-
- com.rbmhtechnology.vind.api.query.filter.Filter.NotEmptyLocationFilter
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Filter
public static class Filter.NotEmptyLocationFilter extends FieldBasedFilter
Filter Class implementing a location field empty filter. A query performed with this filter should return all the documents with have thefield
with a value.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.rbmhtechnology.vind.api.query.filter.Filter
Filter.AfterFilter, Filter.AndFilter, Filter.BeforeFilter, Filter.BetweenDatesFilter, Filter.BetweenNumericFilter, Filter.ChildrenDocumentFilter, Filter.DescriptorFilter<T>, Filter.GreaterThanFilter, Filter.LowerThanFilter, Filter.NotEmptyFilter, Filter.NotEmptyLocationFilter, Filter.NotEmptyTextFilter, Filter.NotFilter, Filter.OrFilter, Filter.PrefixFilter, Filter.Scope, Filter.TermFilter, Filter.TermsQueryFilter<T>, Filter.WithinBBoxFilter, Filter.WithinCircleFilter
-
-
Field Summary
-
Fields inherited from class com.rbmhtechnology.vind.api.query.filter.Filter
AndCollector, DEFAULT_SCOPE, filterScope, OrCollector
-
-
Constructor Summary
Constructors Constructor Description NotEmptyLocationFilter(String field, Filter.Scope scope)
Creates aFilter.NotEmptyLocationFilter
object based on a given field name parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filter
clone()
String
getField()
Get the filtered field nameString
toString()
-
Methods inherited from class com.rbmhtechnology.vind.api.query.filter.Filter
after, after, after, after, after, after, and, before, before, before, before, before, before, between, between, between, between, between, between, between, between, eq, eq, eq, eq, getFilterScope, getFilterScope, getFilterScope, getType, greaterThan, greaterThan, hasChildrenDocuments, hasChildrenDocuments, lesserThan, lesserThan, not, or, prefix, prefix, terms, terms, withinBBox, withinBBox, withinCircle, withinCircle
-
-
-
-
Constructor Detail
-
NotEmptyLocationFilter
public NotEmptyLocationFilter(String field, Filter.Scope scope)
Creates aFilter.NotEmptyLocationFilter
object based on a given field name parameter.- Parameters:
field
- String name of the field to build the filter over.scope
- EnumFilter.Scope
describing the scope to perform the filter on.
-
-
Method Detail
-
getField
public String getField()
Get the filtered field name- Specified by:
getField
in classFieldBasedFilter
- Returns:
- String
field
with the field name.
-
-