Interface ConfigBuilderInterfaces.DataColumnStep4
- All Known Subinterfaces:
ConfigBuilderInterfaces.DataColumnStep2, ConfigBuilderInterfaces.DataColumnStep3
- Enclosing class:
ConfigBuilderInterfaces
public static interface ConfigBuilderInterfaces.DataColumnStep4
Fluent API to build a
DataColumn
Follow the method chain to finally obtain the result with get().
- Author:
- Karl Eilebrecht
-
Method Summary
Modifier and TypeMethodDescriptionfilteredBy(String columnName, AdlSqlType columnType, String value) Defines an extra column filter on a column.get()
-
Method Details
-
filteredBy
ConfigBuilderInterfaces.DataColumnStep4 filteredBy(String columnName, AdlSqlType columnType, String value) Defines an extra column filter on a column. This is required if the target column stores information effectively qualified or narrowed by values of other column(s).Note: The actual value (either hard-coded or from a variable) must be an ADL-value.
Example:
- correct:
filteredBy("ACTIVE", SQL_BOOLEAN, "1") - incorrect:
filteredBy("ACTIVE", SQL_BOOLEAN,"TRUE")
- Parameters:
columnName- name of another column of the same table to be tested for a fixed valuecolumnType- type of the filter column for sql generationvalue- the filter, a fixed value to include into any query related to the data column to filter the results- Returns:
- builder
- See Also:
- correct:
-
get
DataColumn get()- Returns:
- the data column
-