Class DataFilter.DataFilterEntry

java.lang.Object
com.inet.report.adhoc.server.api.dataview.DataFilter.DataFilterEntry
Enclosing class:
DataFilter

@JsonData public static class DataFilter.DataFilterEntry extends Object
Single filter expression
Since:
25.4
  • 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 operation
      value - the value, for date and time values the milliseconds of epoch time is used
      secondValue - 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 operation
      value - the value, for date and time values the milliseconds of epoch time is used
      secondValue - optional second value for range operations
  • Method Details

    • getColumn

      @Nonnull public @Nonnull String getColumn()
      The data source column
      Returns:
      the column
    • getOperation

      @Nonnull public @Nonnull DataFilter.Operation getOperation()
      The compare operation
      Returns:
      the operation
    • getValue

      @Nonnull public @Nonnull String 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

      @Nullable public @Nullable String 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