Package com.google.refine.templating
Class Template.RowWritingVisitor
java.lang.Object
com.google.refine.templating.Template.RowWritingVisitor
- All Implemented Interfaces:
RecordVisitor,RowVisitor
- Enclosing class:
- Template
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all visit() calls.booleaninternalVisit(Project project, int rowIndex, Row row) This method is modified for issue 3955 Issue link: https://github.com/OpenRefine/OpenRefine/issues/3955 The modification is to use the new variable totalRows instead of totalprotected booleaninternalVisit(Project project, Record record) voidCalled before any visit() call.booleanbooleanprotected voidwriteValue(Object v)
-
Field Details
-
limit
protected final int limit -
writer
-
bindings
-
total
public int total -
totalRows
public int totalRows
-
-
Constructor Details
-
RowWritingVisitor
-
-
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
-
writeValue
- Throws:
IOException
-
internalVisit
This method is modified for issue 3955 Issue link: https://github.com/OpenRefine/OpenRefine/issues/3955 The modification is to use the new variable totalRows instead of total -
internalVisit
-