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 Object
accept(FilterVisitor visitor, Object extraData)
Accepts a visitor.boolean
equals(Object other)
boolean
evaluate(Object object)
Give an object, this method determines if the test(s) represented by this filter object are passed.String
getNative()
Returns the native filter expression defined in the target data source language.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
NativeFilterImpl
public NativeFilterImpl(String nativeFilter)
-
-
Method Detail
-
getNative
public String getNative()
Description copied from interface:NativeFilter
Returns the native filter expression defined in the target data source language.- Specified by:
getNative
in interfaceNativeFilter
- Returns:
- the native expression defined in the target data source language.
-
evaluate
public boolean evaluate(Object object)
Description copied from interface:Filter
Give 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:Filter
Accepts a visitor.Implementations of all subinterfaces must have with a method whose content is the following:
return visitor.visit(this, extraData);
-
-