Class SingleFileTableCsvSink<R,T>

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<Table<R,T>>
kieker.analysis.generic.sink.SingleFileTableCsvSink<R,T>
Type Parameters:
R - label type
T - row type

public class SingleFileTableCsvSink<R,T> extends teetime.framework.AbstractConsumerStage<Table<R,T>>
Save tables with a specific row type as a csv files based on a path function.
Since:
1.1
Author:
Reiner Jung
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final char[]
     
    static final char[]
     
    static final char[]
     

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    SingleFileTableCsvSink(Path path, Class<T> clazz, boolean header, char[] newline)
    Create table sink.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    execute(Table<R,T> table)
     

    Methods inherited from class teetime.framework.AbstractConsumerStage

    createInputPort, execute, getInputPort

    Methods 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, workCompleted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • LF

      public static final char[] LF
    • CRLF

      public static final char[] CRLF
    • CR

      public static final char[] CR
  • Constructor Details

    • SingleFileTableCsvSink

      public SingleFileTableCsvSink(Path path, Class<T> clazz, boolean header, char[] newline)
      Create table sink.
      Parameters:
      path - file path
      clazz - row data type
      header - boolean flag specify whether a header line should be written
      newline - end of line marker
  • Method Details