Package org.geotools.appschema.jdbc
Class WrappedFilterToSql
- Object
-
- WrappedFilterToSql
-
public final class WrappedFilterToSql extends Object
Wraps a filter to SQL encoder allowing us to write directly to the output stream.
-
-
Constructor Summary
Constructors Constructor Description WrappedFilterToSql(FeatureTypeMapping featureMapping, FilterToSQL filterToSql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(Expression expression)
void
encode(Filter filter)
String
encodeToString(Expression expression)
String
encodeToString(Filter filter)
void
setFieldEncoder(FilterToSQL.FieldEncoder fieldEncoder)
void
setSqlNameEscape(String escape)
-
-
-
Constructor Detail
-
WrappedFilterToSql
public WrappedFilterToSql(FeatureTypeMapping featureMapping, FilterToSQL filterToSql)
-
-
Method Detail
-
encode
public void encode(Filter filter) throws FilterToSQLException
- Throws:
FilterToSQLException
-
encodeToString
public String encodeToString(Filter filter) throws FilterToSQLException
- Throws:
FilterToSQLException
-
encode
public void encode(Expression expression) throws FilterToSQLException
- Throws:
FilterToSQLException
-
encodeToString
public String encodeToString(Expression expression) throws FilterToSQLException
- Throws:
FilterToSQLException
-
setSqlNameEscape
public void setSqlNameEscape(String escape)
-
setFieldEncoder
public void setFieldEncoder(FilterToSQL.FieldEncoder fieldEncoder)
-
-