public class DataSetList extends AbstractList<Map<String,Object>> implements net.sf.flatpack.DataSet
DataSetList wraps the DataSet as a Java List type so the data can easily be iterated. You
can access the DataSet API from this DataSetList as it implements DataSet.modCount| Constructor and Description |
|---|
DataSetList(net.sf.flatpack.DataSet dataSet) |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic int size()
public void goTop()
goTop in interface net.sf.flatpack.DataSetpublic void goBottom()
goBottom in interface net.sf.flatpack.DataSetpublic boolean previous()
previous in interface net.sf.flatpack.DataSetpublic List<net.sf.flatpack.DataError> getErrors()
getErrors in interface net.sf.flatpack.RecordDataSetpublic void remove()
remove in interface net.sf.flatpack.DataSetpublic int getIndex()
getIndex in interface net.sf.flatpack.DataSetpublic int getRowCount()
getRowCount in interface net.sf.flatpack.DataSetpublic int getErrorCount()
getErrorCount in interface net.sf.flatpack.RecordDataSetpublic boolean isAnError(int lineNo)
isAnError in interface net.sf.flatpack.DataSetpublic void orderRows(net.sf.flatpack.ordering.OrderBy ob)
orderRows in interface net.sf.flatpack.DataSetpublic void setLowerCase()
setLowerCase in interface net.sf.flatpack.DataSetpublic void setUpperCase()
setUpperCase in interface net.sf.flatpack.DataSetpublic void absolute(int localPointer)
absolute in interface net.sf.flatpack.DataSetpublic void setStrictNumericParse(boolean strictNumericParse)
setStrictNumericParse in interface net.sf.flatpack.DataSetpublic void setPZConvertProps(Properties props)
setPZConvertProps in interface net.sf.flatpack.DataSetpublic void setValue(String column, String value)
setValue in interface net.sf.flatpack.DataSetpublic void clearRows()
clearRows in interface net.sf.flatpack.DataSetpublic void clearErrors()
clearErrors in interface net.sf.flatpack.DataSetpublic void clearAll()
clearAll in interface net.sf.flatpack.DataSetpublic String getString(String column)
getString in interface net.sf.flatpack.Recordpublic double getDouble(String column)
getDouble in interface net.sf.flatpack.Recordpublic BigDecimal getBigDecimal(String column)
getBigDecimal in interface net.sf.flatpack.Recordpublic int getInt(String column)
getInt in interface net.sf.flatpack.Recordpublic long getLong(String column)
getLong in interface net.sf.flatpack.Recordpublic Date getDate(String column) throws ParseException
getDate in interface net.sf.flatpack.RecordParseExceptionpublic Date getDate(String column, SimpleDateFormat sdf) throws ParseException
getDate in interface net.sf.flatpack.RecordParseExceptionpublic Object getObject(String column, Class<?> classToConvertTo)
getObject in interface net.sf.flatpack.Recordpublic String[] getColumns()
getColumns in interface net.sf.flatpack.Recordpublic String[] getColumns(String recordID)
getColumns in interface net.sf.flatpack.Recordpublic int getRowNo()
getRowNo in interface net.sf.flatpack.Recordpublic boolean isRecordID(String recordID)
isRecordID in interface net.sf.flatpack.Recordpublic boolean contains(String column)
contains in interface net.sf.flatpack.Recordpublic boolean isRowEmpty()
isRowEmpty in interface net.sf.flatpack.Recordpublic String getRawData()
getRawData in interface net.sf.flatpack.Recordpublic boolean next()
next in interface net.sf.flatpack.RecordDataSetpublic String getString(String column, Supplier<String> defaultSupplier)
getString in interface net.sf.flatpack.Recordpublic double getDouble(String column, DoubleSupplier defaultSupplier)
getDouble in interface net.sf.flatpack.Recordpublic BigDecimal getBigDecimal(String column, Supplier<BigDecimal> defaultSupplier)
getBigDecimal in interface net.sf.flatpack.Recordpublic int getInt(String column, IntSupplier defaultSupplier)
getInt in interface net.sf.flatpack.Recordpublic long getLong(String column, LongSupplier defaultSupplier)
getLong in interface net.sf.flatpack.Recordpublic Date getDate(String column, Supplier<Date> defaultSupplier) throws ParseException
getDate in interface net.sf.flatpack.RecordParseExceptionpublic Date getDate(String column, SimpleDateFormat sdf, Supplier<Date> defaultSupplier) throws ParseException
getDate in interface net.sf.flatpack.RecordParseExceptionpublic LocalDate getLocalDate(String column, Supplier<LocalDate> defaultSupplier) throws ParseException
getLocalDate in interface net.sf.flatpack.RecordParseExceptionpublic LocalDate getLocalDate(String column) throws ParseException
getLocalDate in interface net.sf.flatpack.RecordParseExceptionpublic LocalDate getLocalDate(String column, String dateFormat, Supplier<LocalDate> defaultSupplier) throws ParseException
getLocalDate in interface net.sf.flatpack.RecordParseExceptionpublic LocalDate getLocalDate(String column, String dateFormat) throws ParseException
getLocalDate in interface net.sf.flatpack.RecordParseExceptionpublic String getRecordID()
getRecordID in interface net.sf.flatpack.Recordpublic Optional<net.sf.flatpack.Record> getRecord()
getRecord in interface net.sf.flatpack.RecordDataSetApache Camel