Class QueryBuilder
- java.lang.Object
-
- com.vaadin.v7.data.util.sqlcontainer.query.generator.filter.QueryBuilder
-
- All Implemented Interfaces:
Serializable
@Deprecated public class QueryBuilder extends Object implements Serializable
Deprecated.As of 8.0, no replacement available.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryBuilder()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidaddFilterTranslator(FilterTranslator translator)Deprecated.static StringgetJoinedFilterString(Collection<Container.Filter> filters, String joinString, StatementHelper sh)Deprecated.static StringgetWhereStringForFilter(Container.Filter filter, StatementHelper sh)Deprecated.Constructs and returns a string representing the filter that can be used in a WHERE clause.static StringgetWhereStringForFilters(List<Container.Filter> filters, StatementHelper sh)Deprecated.static Stringgroup(String str)Deprecated.static Stringquote(Object str)Deprecated.static voidsetStringDecorator(StringDecorator decorator)Deprecated.Allows specification of a custom ColumnQuoter instance that handles quoting of column names for the current DB dialect.
-
-
-
Method Detail
-
addFilterTranslator
public static void addFilterTranslator(FilterTranslator translator)
Deprecated.
-
setStringDecorator
public static void setStringDecorator(StringDecorator decorator)
Deprecated.Allows specification of a custom ColumnQuoter instance that handles quoting of column names for the current DB dialect.- Parameters:
decorator- the ColumnQuoter instance to use.
-
getWhereStringForFilter
public static String getWhereStringForFilter(Container.Filter filter, StatementHelper sh)
Deprecated.Constructs and returns a string representing the filter that can be used in a WHERE clause.- Parameters:
filter- the filter to translatesh- the statement helper to update with the value(s) of the filter- Returns:
- a string representing the filter.
-
getJoinedFilterString
public static String getJoinedFilterString(Collection<Container.Filter> filters, String joinString, StatementHelper sh)
Deprecated.
-
getWhereStringForFilters
public static String getWhereStringForFilters(List<Container.Filter> filters, StatementHelper sh)
Deprecated.
-
-