Class DataFilter.DataFilterEntry
java.lang.Object
com.inet.report.adhoc.server.api.dataview.DataFilter.DataFilterEntry
- Enclosing class:
- DataFilter
Single filter expression
- Since:
- 25.4
-
Constructor Summary
ConstructorsConstructorDescriptionDataFilterEntry
(@Nonnull String column, @Nonnull DataFilter.Operation operation, @Nonnull com.inet.config.structure.model.LocalizedKey value, @Nullable com.inet.config.structure.model.LocalizedKey secondValue) Create an instance with a possible different key and label for the the value and the secondValue.DataFilterEntry
(@Nonnull String column, @Nonnull DataFilter.Operation operation, @Nonnull String value, @Nullable String secondValue) Create an instance with identical key and label for the value and the secondValue. -
Method Summary
Modifier and TypeMethodDescription@Nonnull String
The data source column@Nullable com.inet.config.structure.model.LocalizedKey
The second value with localized label.@Nonnull com.inet.config.structure.model.LocalizedKey
The second value with localized label.@Nonnull DataFilter.Operation
The compare operation@Nullable String
The second value@Nonnull String
getValue()
The first value
-
Constructor Details
-
DataFilterEntry
public DataFilterEntry(@Nonnull @Nonnull String column, @Nonnull @Nonnull DataFilter.Operation operation, @Nonnull @Nonnull String value, @Nullable @Nullable String secondValue) Create an instance with identical key and label for the value and the secondValue.- Parameters:
column
- the full column name like "tablealias.name"operation
- the compare operationvalue
- the value, for date and time values the milliseconds of epoch time is usedsecondValue
- optional second value for range operations
-
DataFilterEntry
public DataFilterEntry(@Nonnull @Nonnull String column, @Nonnull @Nonnull DataFilter.Operation operation, @Nonnull @Nonnull com.inet.config.structure.model.LocalizedKey value, @Nullable @Nullable com.inet.config.structure.model.LocalizedKey secondValue) Create an instance with a possible different key and label for the the value and the secondValue.- Parameters:
column
- the full column name like "tablealias.name"operation
- the compare operationvalue
- the value, for date and time values the milliseconds of epoch time is usedsecondValue
- optional second value for range operations
-
-
Method Details
-
getColumn
The data source column- Returns:
- the column
-
getOperation
The compare operation- Returns:
- the operation
-
getValue
The first value- Returns:
- the value
-
getLocalizedValue
@Nonnull public @Nonnull com.inet.config.structure.model.LocalizedKey getLocalizedValue()The second value with localized label.- Returns:
- the value
-
getSecondValue
The second value- Returns:
- the value
-
getLocalizedSecondValue
@Nullable public @Nullable com.inet.config.structure.model.LocalizedKey getLocalizedSecondValue()The second value with localized label.- Returns:
- the value
-