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 Summary
ConstructorDescriptionCsvDataSet
(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, Calendar p_calendar, de.uplanet.lucy.server.scheduler.JobLog p_jobLog) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
int
getFieldDisplaySize
(int p_iIndex) getFieldName
(int p_iIndex) int
getFieldSQLType
(int p_iIndex) getFieldType
(int p_iIndex) int
getPrecision
(int p_iIndex) int
getScale
(int p_iIndex) boolean
isFieldNullable
(int p_iIndex) next()
Get the next data object.
-
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
Description copied from interface:IDataSet
Get the next data object. -
getFieldCount
public int getFieldCount()- Specified by:
getFieldCount
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
getFieldDisplaySize
public int getFieldDisplaySize(int p_iIndex) - Specified by:
getFieldDisplaySize
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
getFieldName
- Specified by:
getFieldName
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
getFieldSQLType
public int getFieldSQLType(int p_iIndex) - Specified by:
getFieldSQLType
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
getFieldType
- Specified by:
getFieldType
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
getPrecision
public int getPrecision(int p_iIndex) - Specified by:
getPrecision
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
getScale
public int getScale(int p_iIndex) - Specified by:
getScale
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
isFieldNullable
public boolean isFieldNullable(int p_iIndex) - Specified by:
isFieldNullable
in interfacede.uplanet.lucy.server.datatrans.IRecordDataSet
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceIDataSet
-