Index

C D E F G I M N O P S T 
All Classes and Interfaces|All Packages|Constant Field Values

C

clearCache() - Static method in class org.mybatis.scripting.freemarker.support.TemplateFilePathProvider
Clear cache.
createFreeMarkerConfiguration() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
Creates the Configuration instance and sets it up.
createParameterHandler(MappedStatement, Object, BoundSql) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
Creates a ParameterHandler that passes the actual parameters to the the JDBC statement.
createSqlSource(Template, Configuration) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
 
createSqlSource(Configuration, String, Class<?>) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
Creates an SqlSource that will hold the statement read from an annotation.
createSqlSource(Configuration, XNode, Class<?>) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
Creates an SqlSource that will hold the statement read from a mapper xml file.

D

DATABASE_ID_KEY - Static variable in class org.mybatis.scripting.freemarker.MyBatisParamDirective
 
DEFAULT_KEY - Static variable in class org.mybatis.scripting.freemarker.MyBatisParamDirective
 
driverConfig - Variable in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
 

E

execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.mybatis.scripting.freemarker.MyBatisParamDirective
 

F

freemarkerCfg - Variable in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
 
FreeMarkerLanguageDriver - Class in org.mybatis.scripting.freemarker
Adds FreeMarker templates support to scripting in MyBatis.
FreeMarkerLanguageDriver() - Constructor for class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
Constructor.
FreeMarkerLanguageDriver(FreeMarkerLanguageDriverConfig) - Constructor for class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriver
Constructor.
FreeMarkerLanguageDriverConfig - Class in org.mybatis.scripting.freemarker
Configuration class for FreeMarkerLanguageDriver.
FreeMarkerLanguageDriverConfig() - Constructor for class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
 
FreeMarkerLanguageDriverConfig.TemplateFileConfig - Class in org.mybatis.scripting.freemarker
Template file configuration.
FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig - Class in org.mybatis.scripting.freemarker
The template file path provider configuration.
FreeMarkerSqlSource - Class in org.mybatis.scripting.freemarker
Applies provided parameter(s) to FreeMarker template.
FreeMarkerSqlSource(Template, Configuration, Version) - Constructor for class org.mybatis.scripting.freemarker.FreeMarkerSqlSource
 

G

GENERATED_PARAMS_KEY - Static variable in class org.mybatis.scripting.freemarker.FreeMarkerSqlSource
 
GeneratedParamsTemplateModel - Class in org.mybatis.scripting.freemarker
Just a wrapper for list of generated params.
GeneratedParamsTemplateModel(List) - Constructor for class org.mybatis.scripting.freemarker.GeneratedParamsTemplateModel
 
generatePath(Class<?>, Method, String) - Method in interface org.mybatis.scripting.freemarker.support.TemplateFilePathProvider.PathGenerator
Generate a template file path.
get(String) - Method in class org.mybatis.scripting.freemarker.ParamObjectAdapter
 
getBaseDir() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig
Get the base directory for reading template resource file.
getBasePackage() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Deprecated.
Recommend to use the FreeMarkerLanguageDriverConfig.TemplateFileConfig.getBaseDir()} because this method defined for keeping backward compatibility (There is possibility that this method removed at a future version)
getBoundSql(Object) - Method in class org.mybatis.scripting.freemarker.FreeMarkerSqlSource
 
getFreemarkerSettings() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Get FreeMarker settings.
getGeneratedParams() - Method in class org.mybatis.scripting.freemarker.GeneratedParamsTemplateModel
 
getGeneratedParams() - Method in class org.mybatis.scripting.freemarker.ParamObjectAdapter
 
getPathProvider() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig
Get the template file path provider configuration.
getPrefix() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Get a prefix for adding to template file path.
getTemplateFile() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Get a template file configuration.

I

isCacheEnabled() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Get whether cache a resolved template file path.
isEmpty() - Method in class org.mybatis.scripting.freemarker.ParamObjectAdapter
 
isIncludesMapperNameWhenSeparateDirectory() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Get whether includes mapper name into file name when separate directory per mapper.
isIncludesPackagePath() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Get whether includes package path part.
isSeparateDirectoryPerMapper() - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Get whether separate directory per mapper.

M

MyBatisParamDirective - Class in org.mybatis.scripting.freemarker
Custom FreeMarker directive for generating "#{paramName}" declarations in convenient way.
MyBatisParamDirective() - Constructor for class org.mybatis.scripting.freemarker.MyBatisParamDirective
 

N

newInstance() - Static method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Create an instance from default properties file.
newInstance(Consumer<FreeMarkerLanguageDriverConfig>) - Static method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Create an instance using specified customizer and override using a default properties file.
newInstance(Properties) - Static method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Create an instance from specified properties.

O

org.mybatis.scripting.freemarker - package org.mybatis.scripting.freemarker
 
org.mybatis.scripting.freemarker.support - package org.mybatis.scripting.freemarker.support
 

P

ParamObjectAdapter - Class in org.mybatis.scripting.freemarker
Important: if you are using some object that already has property "p", then MyBatisParamDirective will be unavailable from script.
ParamObjectAdapter(Object, ArrayList, Version) - Constructor for class org.mybatis.scripting.freemarker.ParamObjectAdapter
 
PathProviderConfig() - Constructor for class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
 
preProcessDataContext(Object, boolean) - Method in class org.mybatis.scripting.freemarker.FreeMarkerSqlSource
Populates additional parameters to data context.
provideSql(ProviderContext) - Static method in class org.mybatis.scripting.freemarker.support.TemplateFilePathProvider
Provide an SQL scripting string(template file path).
putAdditionalParam(String, TemplateModel) - Method in class org.mybatis.scripting.freemarker.ParamObjectAdapter
Puts the additional parameter into adapter, it will be available if no existing property with same key exists.

S

setBaseDir(String) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig
Set the base directory for reading template resource file.
setBasePackage(String) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig
Deprecated.
Recommend to use the FreeMarkerLanguageDriverConfig.TemplateFileConfig.setBaseDir(String) because this method defined for keeping backward compatibility (There is possibility that this method removed at a future version)
setCacheEnabled(boolean) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Set whether cache a resolved template file path.
setCustomTemplateFilePathGenerator(TemplateFilePathProvider.PathGenerator) - Static method in class org.mybatis.scripting.freemarker.support.TemplateFilePathProvider
Set custom implementation for TemplateFilePathProvider.PathGenerator.
setIncludesMapperNameWhenSeparateDirectory(boolean) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Set whether includes mapper name into file name when separate directory per mapper.
setIncludesPackagePath(boolean) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Set whether includes package path part.
setLanguageDriverConfig(FreeMarkerLanguageDriverConfig) - Static method in class org.mybatis.scripting.freemarker.support.TemplateFilePathProvider
Set a configuration instance for FreeMarkerLanguageDriver.
setPrefix(String) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Set the prefix for adding to template file path.
setSeparateDirectoryPerMapper(boolean) - Method in class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig.PathProviderConfig
Set whether separate directory per mapper.

T

TemplateFileConfig() - Constructor for class org.mybatis.scripting.freemarker.FreeMarkerLanguageDriverConfig.TemplateFileConfig
 
TemplateFilePathProvider - Class in org.mybatis.scripting.freemarker.support
The SQL provider class that return the SQL template file path.
TemplateFilePathProvider.PathGenerator - Interface in org.mybatis.scripting.freemarker.support
The interface that implements a function for generating template file path.
C D E F G I M N O P S T 
All Classes and Interfaces|All Packages|Constant Field Values