| Modifier and Type | Class and Description |
|---|---|
static class |
Param.AndOr |
static class |
Param.Builder
A factory for Param objects, parameter values can be added in two ways:
as (the correct) Object => only syntax and wildcard support for String values
as a String using a converter => syntax support also for non String values, no wildcard support
|
static class |
Param.OPERATOR |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Param.AndOr |
getAndOr()
Will be prepended in the query for parameters except the first
|
Object |
getMaxValue() |
String |
getNot() |
Param.OPERATOR |
getOperator() |
String |
getParamKey()
for native queries this key should be a numeric positional parameter
|
Class |
getParamType() |
Object |
getParamValue() |
String |
getPropertyPath() |
int |
hashCode() |
boolean |
isCaseInsensitive() |
boolean |
isEndGroup() |
boolean |
isStartGroup() |
static List<Param> |
one(String key,
Object value)
|
static List<Param> |
one(String key,
Param.OPERATOR operator,
Object value)
Calls
Builder#add(String, String, OPERATOR, Object, boolean, boolean, Object) with
key,key,operator,value,false,false,null |
static List<Param> |
one(String propertyPath,
String key,
Object value)
|
static List<Param> |
one(String propertyPath,
String key,
Object value,
boolean syntaxSupport,
Param.Builder.WildcardMapping wildcardMapping,
boolean caseInsensitive)
|
static List<Param> |
one(String key,
String value,
com.vectorprint.StringConverter converter)
|
String |
toString() |
public static List<Param> one(String key, Object value)
one(java.lang.String, java.lang.String, java.lang.Object, boolean, org.fryske_akademy.jpa.Param.Builder.WildcardMapping, boolean)
with true, Param.Builder.DEFAULT_MAPPING and falsekey - value - public static List<Param> one(String key, Param.OPERATOR operator, Object value)
Builder#add(String, String, OPERATOR, Object, boolean, boolean, Object) with
key,key,operator,value,false,false,nullkey - operator - value - public static List<Param> one(String propertyPath, String key, Object value)
one(java.lang.String, java.lang.String, java.lang.Object, boolean, org.fryske_akademy.jpa.Param.Builder.WildcardMapping, boolean)
with true, Param.Builder.DEFAULT_MAPPING and falsepropertyPath - The propertyPath may differ from key allowing you to
apply multiple comparisons for the same propertyPath (i.e.
e.column1=:column1 or e.column1=:column2).key - value - public static List<Param> one(String key, String value, com.vectorprint.StringConverter converter)
key - value - converter - public static List<Param> one(String propertyPath, String key, Object value, boolean syntaxSupport, Param.Builder.WildcardMapping wildcardMapping, boolean caseInsensitive)
propertyPath - The propertyPath may differ from key allowing you to
apply multiple comparisons for the same propertyPath (i.e.
e.column1=:column1 or e.column1=:column2).key - value - syntaxSupport - wildcardMapping - caseInsensitive - public String getPropertyPath()
public String getParamKey()
public Param.OPERATOR getOperator()
public Object getParamValue()
public String getNot()
public Param.AndOr getAndOr()
public Class getParamType()
public Object getMaxValue()
public boolean isCaseInsensitive()
public boolean isStartGroup()
public boolean isEndGroup()
Copyright © 2018–2020 Fryske Akademy. All rights reserved.