V
- the type of contained valuespublic interface OneShotCollectable<V> extends MultiCollectable<V>
Collectable
that contains data for a whole file, which is to be
written to a new file after each collection.Modifier and Type | Method and Description |
---|---|
default OutputWriter |
createWriter(Path outputPath)
Returns fitting
OutputWriter for this collectable. |
obtainValues, toMultimap
clear, obtainHeaders, toMap
default OutputWriter createWriter(Path outputPath)
Collectable
OutputWriter
for this collectable.createWriter
in interface Collectable<Iterable<V>>
createWriter
in interface MultiCollectable<V>
outputPath
- the output pathOutputWriter
for given collector