Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.sql.SQLStatements
Class SQLOperators

java.lang.Object
  extended by com.ibm.etools.iseries.edit.sql.SQLStatements.SQLOperators

public class SQLOperators
extends Object


Field Summary
static String Copyright
           
 
Constructor Summary
SQLOperators()
           
 
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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SQLOperators

public SQLOperators()
Method Detail

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 check
ccsid - 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 check
ccsid - 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 check
ccsid - 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.

Rational Developer for Power Systems Software
V7.6

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.