public class FunctionCallingCriterion extends QueryPropertyNameCriterion
This criterion calls a function on the property before apply the appropriate comparison. Example in SQL: year(date) == 2007 where the function is 'year', the property 'date' and the value is '2007'
Constructor and description |
---|
FunctionCallingCriterion
(java.lang.String functionName, PropertyCriterion propertyCriterion) |
FunctionCallingCriterion
(java.lang.String name, java.lang.String functionName, PropertyCriterion propertyCriterion, boolean onValue) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getFunctionName() |
|
public PropertyCriterion |
getPropertyCriterion() |
|
public boolean |
isOnValue() Whether the function is called on the value or on the property |
Whether the function is called on the value or on the property