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
Constructors Constructor Description CsvDataSet(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getFieldCount()
int
getFieldDisplaySize(int p_iIndex)
String
getFieldName(int p_iIndex)
int
getFieldSQLType(int p_iIndex)
String
getFieldType(int p_iIndex)
int
getPrecision(int p_iIndex)
int
getScale(int p_iIndex)
boolean
isFieldNullable(int p_iIndex)
IDataObject
next()
Get the next data object.
-
-
-
Constructor Detail
-
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 Detail
-
next
public IDataObject next() throws Exception
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
public String getFieldName(int p_iIndex)
- 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
public String getFieldType(int p_iIndex)
- 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
-
-