Package ru.curs.celesta.dbutils.adaptors
Interface StaticDataAdaptor
-
- All Known Implementing Classes:
DBAdaptor
,FirebirdAdaptor
,H2Adaptor
,MSSQLAdaptor
,OpenSourceDbAdaptor
,OraAdaptor
,PostgresAdaptor
public interface StaticDataAdaptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
compareStrings(String left, String right)
Compares strings by DB.List<String>
selectStaticStrings(List<String> data, String columnName, String orderBy)
Selects list of static strings in specified order.
-
-
-
Method Detail
-
selectStaticStrings
List<String> selectStaticStrings(List<String> data, String columnName, String orderBy)
Selects list of static strings in specified order.- Parameters:
data
- List of String to selectcolumnName
- name of result columnorderBy
- expression to concatenate after "ORDER BY"- Returns:
List
-
-