class AnswerRowsOptions {

  @Override
  public boolean equals(@Nullable Object obj) {
    if (this == obj) {
      return true;
    }
    if (!(obj instanceof AnswerRowsOptions)) {
      return false;
    }
    AnswerRowsOptions rhs = (AnswerRowsOptions) obj;
    return _columns.equals(rhs._columns)
        && _filters.equals(rhs._filters)
        && _maxRows == rhs._maxRows
        && _rowOffset == rhs._rowOffset
        && _sortOrder.equals(rhs._sortOrder)
        && _uniqueRows == rhs._uniqueRows;
  }

  public  AnswerRowsOptions(
      @Nonnull Set<String> columns,
      @Nonnull List<ColumnFilter> filters,
      int maxRows,
      int rowOffset,
      @Nonnull List<ColumnSortOption> sortOrder,
      boolean uniqueRows);

}