Class CommaSeparatedRecordReader

java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.serialization.record.CommaSeparatedRecordReader
All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent, org.apache.nifi.controller.ControllerService, RecordReaderFactory

public class CommaSeparatedRecordReader extends org.apache.nifi.controller.AbstractControllerService implements RecordReaderFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private int
     
    private boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createRecordReader(Map<String,String> variables, InputStream in, long inputLength, org.apache.nifi.logging.ComponentLog logger)
     
    void
    failAfter(int failAfterN)
     
    void
    setUseNullForEmptyString(boolean useNullForEmptyString)
     

    Methods inherited from class org.apache.nifi.controller.AbstractControllerService

    abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabled

    Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent

    customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, toString, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate

    Methods inherited from interface org.apache.nifi.controller.ControllerService

    initialize, isStateful, migrateProperties

    Methods inherited from interface org.apache.nifi.serialization.RecordReaderFactory

    createRecordReader
  • Field Details

    • failAfterN

      private int failAfterN
    • recordCount

      private int recordCount
    • useNullForEmptyString

      private boolean useNullForEmptyString
  • Constructor Details

    • CommaSeparatedRecordReader

      public CommaSeparatedRecordReader()
    • CommaSeparatedRecordReader

      public CommaSeparatedRecordReader(int failAfterN)
  • Method Details