Package org.firebirdsql.jdbc.parser
Class SqlTokenizer
- java.lang.Object
- 
- org.firebirdsql.jdbc.parser.SqlTokenizer
 
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable,- java.util.Iterator<Token>
 
 @InternalApi public final class SqlTokenizer extends java.lang.Object implements java.util.Iterator<Token>, java.lang.AutoCloseable Converts a SQL statement into tokens.This class is not thread-safe. - Since:
- 4.0.8
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSqlTokenizer.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Tokennext()voidremove()static SqlTokenizer.BuilderwithReservedWords(ReservedWords reservedWords)Tokenize with a supplier of reserved words.
 
- 
- 
- 
Method Detail- 
withReservedWordspublic static SqlTokenizer.Builder withReservedWords(ReservedWords reservedWords) Tokenize with a supplier of reserved words.- Parameters:
- reservedWords- Reserved words
- Returns:
- builder to complete initialization of a tokenizer
 
 - 
hasNextpublic boolean hasNext() - Specified by:
- hasNextin interface- java.util.Iterator<Token>
 
 - 
removepublic void remove() - Specified by:
- removein interface- java.util.Iterator<Token>
 
 - 
closepublic void close() - Specified by:
- closein interface- java.lang.AutoCloseable
 
 
- 
 
-