Package org.geotools.appschema.jdbc
Class JoiningJDBCFeatureSource.JoiningFieldEncoder
- Object
-
- JoiningFieldEncoder
-
- All Implemented Interfaces:
FilterToSQL.FieldEncoder
- Enclosing class:
- JoiningJDBCFeatureSource
public static class JoiningJDBCFeatureSource.JoiningFieldEncoder extends Object implements FilterToSQL.FieldEncoder
Field Encoder for converting Filters/Expressions to SQL, will encode table name with field.
-
-
Constructor Summary
Constructors Constructor Description JoiningFieldEncoder(String tableName, JDBCDataStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
encode(String s)
Encodes a field name in SQL, prefixing it with the table name (but not the schema).
-
-
-
Constructor Detail
-
JoiningFieldEncoder
public JoiningFieldEncoder(String tableName, JDBCDataStore store)
-
-
Method Detail
-
encode
public String encode(String s)
Encodes a field name in SQL, prefixing it with the table name (but not the schema).Mostly useful when aliases are used.
- Specified by:
encode
in interfaceFilterToSQL.FieldEncoder
-
-