Package org.camunda.bpm.engine.impl.json
Class JsonLegacyQueryOrderingPropertyConverter
- java.lang.Object
-
- org.camunda.bpm.engine.impl.json.JsonLegacyQueryOrderingPropertyConverter
-
public class JsonLegacyQueryOrderingPropertyConverter extends Object
Deserializes query ordering properties from the deprecated 7.2 format in which the SQL-like orderBy parameter was used. Is able to deserialize strings like:- RES.ID_ asc
- LOWER(RES.NAME_) desc
- RES.ID_ asc, RES.NAME_ desc
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description static JsonLegacyQueryOrderingPropertyConverter
INSTANCE
static String
ORDER_BY_DELIMITER
-
Constructor Summary
Constructors Constructor Description JsonLegacyQueryOrderingPropertyConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<QueryOrderingProperty>
fromOrderByString(String orderByString)
-
-
-
Field Detail
-
ORDER_BY_DELIMITER
public static final String ORDER_BY_DELIMITER
- See Also:
- Constant Field Values
-
INSTANCE
public static JsonLegacyQueryOrderingPropertyConverter INSTANCE
-
-
Method Detail
-
fromOrderByString
public List<QueryOrderingProperty> fromOrderByString(String orderByString)
-
-