org.eigenbase.sql.advise
Class SqlSimpleParser.Tokenizer

java.lang.Object
  extended by org.eigenbase.sql.advise.SqlSimpleParser.Tokenizer
Enclosing class:
SqlSimpleParser

public static class SqlSimpleParser.Tokenizer
extends Object


Field Summary
private  String hintToken
           
private static Map<String,SqlSimpleParser.TokenType> map
           
private  int pos
           
(package private)  String sql
           
(package private)  int start
           
 
Constructor Summary
SqlSimpleParser.Tokenizer(String sql, String hintToken)
           
 
Method Summary
private  int indexOfLineEnd(String sql, int i)
           
 SqlSimpleParser.Token nextToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

private static final Map<String,SqlSimpleParser.TokenType> map

sql

final String sql

hintToken

private final String hintToken

pos

private int pos

start

int start
Constructor Detail

SqlSimpleParser.Tokenizer

public SqlSimpleParser.Tokenizer(String sql,
                                 String hintToken)
Method Detail

nextToken

public SqlSimpleParser.Token nextToken()

indexOfLineEnd

private int indexOfLineEnd(String sql,
                           int i)