Package org.geotools.filter
Class NativeFilterImpl
- Object
-
- NativeFilterImpl
-
- All Implemented Interfaces:
Filter,NativeFilter
public final class NativeFilterImpl extends Object implements NativeFilter
Default implementation of a native filter that works like an holder for the native expression. This should be enough for most of the situations.
-
-
Field Summary
-
Fields inherited from interface NativeFilter
NAME
-
-
Constructor Summary
Constructors Constructor Description NativeFilterImpl(String nativeFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(FilterVisitor visitor, Object extraData)Accepts a visitor.booleanequals(Object other)booleanevaluate(Object object)Give an object, this method determines if the test(s) represented by this filter object are passed.StringgetNative()Returns the native filter expression defined in the target data source language.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
NativeFilterImpl
public NativeFilterImpl(String nativeFilter)
-
-
Method Detail
-
getNative
public String getNative()
Description copied from interface:NativeFilterReturns the native filter expression defined in the target data source language.- Specified by:
getNativein interfaceNativeFilter- Returns:
- the native expression defined in the target data source language.
-
evaluate
public boolean evaluate(Object object)
Description copied from interface:FilterGive an object, this method determines if the test(s) represented by this filter object are passed.This ability is used to allow Queries against both Features and and non spatial data (such as Record) and to express constraints on permissable data values.
-
accept
public Object accept(FilterVisitor visitor, Object extraData)
Description copied from interface:FilterAccepts a visitor.Implementations of all subinterfaces must have with a method whose content is the following:
return visitor.visit(this, extraData);
-
-