com.ibm.etools.iseries.edit.sql.SQLStatements
Class SQLOperators
java.lang.Object
com.ibm.etools.iseries.edit.sql.SQLStatements.SQLOperators
public class SQLOperators
- extends Object
Method Summary |
static boolean |
isSQLOperator(char c,
int ccsid)
Indicates whether or not the specified character is an SQL operator |
static boolean |
isSQLOperator(String text,
int ccsid)
Indicates whether or not the specified string is an SQL operator |
static boolean |
isStartChar(char c,
int ccsid)
Returns whether or not the character is the start character of a 2 character
operator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
SQLOperators
public SQLOperators()
isSQLOperator
public static boolean isSQLOperator(String text,
int ccsid)
- Indicates whether or not the specified string is an SQL operator
- Parameters:
text
- The text to checkccsid
- the CCSID of the SQL statement, required to ensure proper NL support
- Returns:
- true if the text is a built-in function, false otherwise
isSQLOperator
public static boolean isSQLOperator(char c,
int ccsid)
- Indicates whether or not the specified character is an SQL operator
- Parameters:
c
- The character to checkccsid
- the CCSID of the SQL statement, required to ensure proper NL support
- Returns:
- true if the text is a built-in function, false otherwise
isStartChar
public static boolean isStartChar(char c,
int ccsid)
- Returns whether or not the character is the start character of a 2 character
operator
- Parameters:
c
- the character to checkccsid
- the CCSID of the SQL statement, required to ensure proper NL support
- Returns:
- true if the character is the start of a 2 char operator.
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.