Package org.apache.ibatis.builder
Class ParameterExpression
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
Inline parameter expression parser. Supported grammar (simplified):
inline-parameter = (propertyName | expression) oldJdbcType attributes
propertyName = /expression language's property navigation path/
expression = '(' /expression language's expression/ ')'
oldJdbcType = ':' /any valid jdbc type/
attributes = (',' attribute)*
attribute = name '=' value
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidexpression(String expression, int left) private voidprivate voidjdbcTypeOpt(String expression, int p) private voidprivate voidprivate voidprivate intprivate intprivate StringtrimmedStr(String str, int start, int end) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ParameterExpression
-
-
Method Details
-
parse
-
expression
-
property
-
skipWS
-
skipUntil
-
jdbcTypeOpt
-
jdbcType
-
option
-
trimmedStr
-