Interface RowVisitor

All Known Implementing Classes:
ColumnSplitOperation.ColumnSplitRowVisitor, ExpressionNominalValueGrouper, ExpressionNumericValueBinner, ExpressionTimeValueBinner, GetRowsCommand.RowWritingVisitor, RowReorderOperation.IndexingVisitor, ScatterplotDrawingRowVisitor, SortingRowVisitor, Template.RowWritingVisitor

public interface RowVisitor
Interface for visiting rows one by one. The rows visited are only those that match some particular criteria, such as facets' constraints.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end(Project project)
    Called after all visit() calls.
    void
    start(Project project)
    Called before any visit() call.
    boolean
    visit(Project project, int rowIndex, Row row)
     
  • Method Details

    • start

      void start(Project project)
      Called before any visit() call.
      Parameters:
      project -
    • visit

      boolean visit(Project project, int rowIndex, Row row)
      Parameters:
      project - project
      rowIndex - zero-based row index
      row - row
      Returns:
      true to abort visitation early - no further visit calls will be made
    • end

      void end(Project project)
      Called after all visit() calls.
      Parameters:
      project -