Package kieker.analysis.generic
Class CsvRowReaderStage<T>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<Path,T>
kieker.analysis.generic.CsvRowReaderStage<T>
- Type Parameters:
T- ICsvRecord datatype
- All Implemented Interfaces:
teetime.stage.basic.ITransformation<Path,T>
Reader for multiple CSV files, producing single records for each row.
- Since:
- 1.0
- Author:
- Reiner Jung
-
Field Summary
Fields inherited from class teetime.stage.basic.AbstractTransformation
outputPortFields inherited from class teetime.framework.AbstractConsumerStage
inputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
ConstructorsConstructorDescriptionCsvRowReaderStage(char separator, char quoteSymbol, char escapeSymbol, boolean header, Class<T> clazz) Read a single CSV file. -
Method Summary
Methods inherited from class teetime.stage.basic.AbstractTransformation
getOutputPortMethods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPortMethods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompletedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface teetime.stage.basic.ITransformation
getInputPort
-
Constructor Details
-
CsvRowReaderStage
public CsvRowReaderStage(char separator, char quoteSymbol, char escapeSymbol, boolean header, Class<T> clazz) Read a single CSV file.- Parameters:
separator- string containing the separator symbol for cellsquoteSymbol- quote symbol used for cellsescapeSymbol- escape characterheader- indicate how to interpret the first line in the CSV file, set to true to indicate that the first line contains the header informationclazz- row class- Throws:
IOException- when a stream could not be opened.
-
-
Method Details