Package org.jdbi.v3.core.statement
Class CachingSqlParser
java.lang.Object
org.jdbi.v3.core.statement.CachingSqlParser
- All Implemented Interfaces:
SqlParser
- Direct Known Subclasses:
ColonPrefixSqlParser,HashPrefixSqlParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default size of the parsed SQL cache. -
Method Summary
Modifier and TypeMethodDescription<T> TReturns cache statistics for the internal sql parser cache.parse(String sql, StatementContext ctx) Parses the given SQL statement, and returns theParsedSqlfor the statement.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.statement.SqlParser
nameParameter
-
Field Details
-
PARSED_SQL_CACHE_SIZE
public static final int PARSED_SQL_CACHE_SIZEThe default size of the parsed SQL cache.- See Also:
-
-
Method Details