Class CsvDataSet

java.lang.Object
de.uplanet.lucy.server.datatrans.csv.CsvDataSet
All Implemented Interfaces:
IDataSet, de.uplanet.lucy.server.datatrans.IRecordDataSet, ICloseable, AutoCloseable

public final class CsvDataSet extends Object implements de.uplanet.lucy.server.datatrans.IRecordDataSet
  • Constructor Details

    • CsvDataSet

      public CsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, Calendar p_calendar, de.uplanet.lucy.server.scheduler.JobLog p_jobLog) throws IOException
      Throws:
      IOException
  • Method Details

    • next

      public IDataObject next() throws Exception
      Description copied from interface: IDataSet
      Get the next data object.
      Specified by:
      next in interface IDataSet
      Returns:
      The next data object.
      Throws:
      Exception - If an error occurred.
    • getFieldCount

      public int getFieldCount()
      Specified by:
      getFieldCount in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • getFieldDisplaySize

      public int getFieldDisplaySize(int p_iIndex)
      Specified by:
      getFieldDisplaySize in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • getFieldName

      public String getFieldName(int p_iIndex)
      Specified by:
      getFieldName in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • getFieldSQLType

      public int getFieldSQLType(int p_iIndex)
      Specified by:
      getFieldSQLType in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • getFieldType

      public String getFieldType(int p_iIndex)
      Specified by:
      getFieldType in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • getPrecision

      public int getPrecision(int p_iIndex)
      Specified by:
      getPrecision in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • getScale

      public int getScale(int p_iIndex)
      Specified by:
      getScale in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • isFieldNullable

      public boolean isFieldNullable(int p_iIndex)
      Specified by:
      isFieldNullable in interface de.uplanet.lucy.server.datatrans.IRecordDataSet
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface IDataSet