| java.lang.Object org.deegree.io.datastore.sql.wherebuilder.SingleChar
SingleChar | final class SingleChar implements SpecialCharStringPart(Code) | | Part of a
SpecialCharString -- represents an arbitrary character (in SQL: '_').
author: Markus Schneider author: last edited by: $Author: mschneider $ version: $Revision: 6588 $, $Date: 2007-04-11 17:31:29 +0200 (Mi, 11 Apr 2007) $ |
Method Summary | |
public String | toSQLStyle() Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL. | public String | toSQLStyle(boolean toLowerCase) Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL. | public String | toString() |
toSQLStyle | public String toSQLStyle()(Code) | | Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.
This means:
- wildCard: encoded as the '%'-character
- singleChar: encoded as the '_'-character
- escape: encoded as the '\'-character
encoded string |
toSQLStyle | public String toSQLStyle(boolean toLowerCase)(Code) | | Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.
This means:
- wildCard: encoded as the '%'-character
- singleChar: encoded as the '_'-character
- escape: encoded as the '\'-character
Parameters: toLowerCase - true means: convert to lowercase letters encoded string |
|
|