org.d2rq.db.vendor
Class MySQL.MySQLIdentifierParser

java.lang.Object
  extended by org.d2rq.db.vendor.SQL92.IdentifierParser
      extended by org.d2rq.db.vendor.MySQL.MySQLIdentifierParser
Enclosing class:
MySQL

public class MySQL.MySQLIdentifierParser
extends SQL92.IdentifierParser


Constructor Summary
MySQL.MySQLIdentifierParser(String input, int minParts, int maxParts)
           
 
Method Summary
protected  boolean isClosingQuoteChar(char c)
           
protected  boolean isIdentifierBodyChar(char c)
          Subsequent characters may be any of these, or a nonspacing mark, spacing combining mark, decimal number, connector punctuation, and formatting code.
protected  boolean isIdentifierStartChar(char c)
          Regular identifiers must start with a Unicode character from any of the following character classes: upper-case letter, lower-case letter, title-case letter, modifier letter, other letter, or letter number.
protected  boolean isOpeningQuoteChar(char c)
           
protected  boolean isValidIdentifier(String identifier, boolean delimited)
           
 
Methods inherited from class org.d2rq.db.vendor.SQL92.IdentifierParser
error, message, result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQL.MySQLIdentifierParser

public MySQL.MySQLIdentifierParser(String input,
                                   int minParts,
                                   int maxParts)
Method Detail

isValidIdentifier

protected boolean isValidIdentifier(String identifier,
                                    boolean delimited)
Overrides:
isValidIdentifier in class SQL92.IdentifierParser

isOpeningQuoteChar

protected boolean isOpeningQuoteChar(char c)
Overrides:
isOpeningQuoteChar in class SQL92.IdentifierParser

isClosingQuoteChar

protected boolean isClosingQuoteChar(char c)
Overrides:
isClosingQuoteChar in class SQL92.IdentifierParser

isIdentifierStartChar

protected boolean isIdentifierStartChar(char c)
Description copied from class: SQL92.IdentifierParser
Regular identifiers must start with a Unicode character from any of the following character classes: upper-case letter, lower-case letter, title-case letter, modifier letter, other letter, or letter number.

Overrides:
isIdentifierStartChar in class SQL92.IdentifierParser
See Also:
R2RML: SQL identifier

isIdentifierBodyChar

protected boolean isIdentifierBodyChar(char c)
Description copied from class: SQL92.IdentifierParser
Subsequent characters may be any of these, or a nonspacing mark, spacing combining mark, decimal number, connector punctuation, and formatting code.

Overrides:
isIdentifierBodyChar in class SQL92.IdentifierParser
See Also:
R2RML: SQL identifier