Package com.google.refine.commands.row
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all visit() calls.booleaninternalVisit(Project project, int rowIndex, Row row) protected booleaninternalVisit(Project project, Record record) voidCalled before any visit() call.booleanboolean
-
Field Details
-
results
-
total
public int total
-
-
Constructor Details
-
RowWritingVisitor
public RowWritingVisitor(int start, int limit)
-
-
Method Details
-
start
Description copied from interface:RowVisitorCalled before any visit() call.- Specified by:
startin interfaceRecordVisitor- Specified by:
startin interfaceRowVisitor
-
end
Description copied from interface:RowVisitorCalled after all visit() calls.- Specified by:
endin interfaceRecordVisitor- Specified by:
endin interfaceRowVisitor
-
visit
- Specified by:
visitin interfaceRowVisitor- Parameters:
project- projectrowIndex- zero-based row indexrow- row- Returns:
- true to abort visitation early - no further visit calls will be made
-
visit
- Specified by:
visitin interfaceRecordVisitor
-
internalVisit
-
internalVisit
-