Class GetRowsCommand.RowWritingVisitor

java.lang.Object
com.google.refine.commands.row.GetRowsCommand.RowWritingVisitor
All Implemented Interfaces:
RecordVisitor, RowVisitor
Enclosing class:
GetRowsCommand

protected static class GetRowsCommand.RowWritingVisitor extends Object implements RowVisitor, RecordVisitor
  • Field Details

  • Constructor Details

    • RowWritingVisitor

      public RowWritingVisitor(int start, int limit)
  • Method Details

    • start

      public void start(Project project)
      Description copied from interface: RowVisitor
      Called before any visit() call.
      Specified by:
      start in interface RecordVisitor
      Specified by:
      start in interface RowVisitor
    • end

      public void end(Project project)
      Description copied from interface: RowVisitor
      Called after all visit() calls.
      Specified by:
      end in interface RecordVisitor
      Specified by:
      end in interface RowVisitor
    • visit

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

      public boolean visit(Project project, Record record)
      Specified by:
      visit in interface RecordVisitor
    • internalVisit

      public boolean internalVisit(Project project, int rowIndex, Row row)
    • internalVisit

      protected boolean internalVisit(Project project, Record record)