| Constructor and Description | 
|---|
RowRecord(Row row,
         MetaData metaData,
         boolean columnCaseSensitive,
         Properties pzConvertProps,
         boolean strictNumericParse,
         boolean upperCase,
         boolean lowerCase,
         boolean nullEmptyString)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
contains(String column)
Does this DataSet contain a column with the given name? 
 | 
BigDecimal | 
getBigDecimal(String column)
Returns the BigDecimal value of a specified column 
 | 
BigDecimal | 
getBigDecimal(String column,
             Supplier<BigDecimal> defaultSupplier)
Returns the BigDecimal value of a specified column 
 | 
String[] | 
getColumns()
Returns a String array of column names in the DataSet. 
 | 
String[] | 
getColumns(String recordID)
Returns a String array of column names in the DataSet for a given
  <RECORD> id 
 | 
Date | 
getDate(String column)
Returns the date value of a specified column. 
 | 
Date | 
getDate(String column,
       SimpleDateFormat sdf)
Returns the date value of a specified column. 
 | 
Date | 
getDate(String column,
       SimpleDateFormat sdf,
       Supplier<Date> defaultSupplier)
Returns the date value of a specified column. 
 | 
Date | 
getDate(String column,
       Supplier<Date> defaultSupplier)
Returns the date value of a specified column. 
 | 
double | 
getDouble(String column)
Returns the double value of a specified column 
 | 
double | 
getDouble(String column,
         DoubleSupplier defaultSupplier)
Returns the double value of a specified column 
 | 
int | 
getInt(String column)
Returns the integer value of a specified column 
 | 
int | 
getInt(String column,
      IntSupplier defaultSupplier)
Returns the integer value of a specified column 
 | 
LocalDate | 
getLocalDate(String column)
Returns the local date value of a specified column. 
 | 
LocalDate | 
getLocalDate(String column,
            DateTimeFormatter formatter)
Returns the local date value of a specified column. 
 | 
LocalDate | 
getLocalDate(String column,
            String dateFormat)
Returns the lcoal date value of a specified column. 
 | 
LocalDate | 
getLocalDate(String column,
            String dateFormat,
            Supplier<LocalDate> defaultSupplier)
Returns the local date value of a specified column. 
 | 
LocalDate | 
getLocalDate(String column,
            Supplier<LocalDate> defaultSupplier)
Returns the date value of a specified column. 
 | 
long | 
getLong(String column)
Returns the long value of a specified column 
 | 
long | 
getLong(String column,
       LongSupplier defaultSupplier)
Returns the long value of a specified column 
 | 
Object | 
getObject(String column,
         Class<?> classToConvertTo)
Returns the value of the column with the type of object specified 
 | 
String | 
getRawData()  | 
String | 
getRecordID()
Show the record ID (default is 'detail') 
 | 
int | 
getRowNo()
Returns the line number the pointer is on. 
 | 
String | 
getString(String column)
Returns the string value of a specified column 
 | 
String | 
getString(String column,
         Supplier<String> defaultSupplier)
Returns the string value of a specified column 
 | 
boolean | 
isRecordID(String recordID)
Checks to see if the row has the given  <RECORD> id 
 | 
boolean | 
isRowEmpty()
Checks to see if there was no data on the row which was parsed. 
 | 
public RowRecord(Row row, MetaData metaData, boolean columnCaseSensitive, Properties pzConvertProps, boolean strictNumericParse, boolean upperCase, boolean lowerCase, boolean nullEmptyString)
public String getRecordID()
RecordgetRecordID in interface Recordpublic boolean isRecordID(String recordID)
RecordisRecordID in interface Recordpublic int getRowNo()
Recordpublic boolean isRowEmpty()
RecordisRowEmpty in interface Recordpublic boolean contains(String column)
Recordpublic String[] getColumns()
RecordgetColumns in interface Recordpublic String[] getColumns(String recordID)
RecordgetColumns in interface Recordpublic Date getDate(String column, SimpleDateFormat sdf, Supplier<Date> defaultSupplier) throws ParseException
RecordgetDate in interface Recordcolumn - - Name of the columnsdf - - SimpleDateFormat of the datedefaultSupplier - for default value if result in column is null/emptyParseExceptionSimpleDateFormatpublic Date getDate(String column, Supplier<Date> defaultSupplier) throws ParseException
RecordgetDate in interface Recordcolumn - - Name of the columndefaultSupplier - for default value if result in column is null/emptyParseException - if date format incorectpublic Date getDate(String column) throws ParseException
RecordgetDate in interface Recordcolumn - - Name of the columnParseException - if date format incorrectpublic Date getDate(String column, SimpleDateFormat sdf) throws ParseException
RecordgetDate in interface Recordcolumn - - Name of the columnsdf - - SimpleDateFormat of the dateParseException - if date format does not match the SimpleDateFormatSimpleDateFormatpublic LocalDate getLocalDate(String column, String dateFormat, Supplier<LocalDate> defaultSupplier) throws ParseException
RecordgetLocalDate in interface Recordcolumn - - Name of the columndateFormat - - dateFormat of the datedefaultSupplier - for default value if result in column is null/emptyParseException - if date format does not matchSimpleDateFormatpublic LocalDate getLocalDate(String column, Supplier<LocalDate> defaultSupplier) throws ParseException
RecordgetLocalDate in interface Recordcolumn - - Name of the columndefaultSupplier - for default value if result in column is null/emptyParseException - if date format does not matchpublic LocalDate getLocalDate(String column) throws ParseException
RecordgetLocalDate in interface Recordcolumn - - Name of the columnParseException - if date format does not matchpublic LocalDate getLocalDate(String column, DateTimeFormatter formatter) throws ParseException
RecordgetLocalDate in interface Recordcolumn - - Name of the column
        formatter
            - formatter for the date parsingParseException - if date format does not matchpublic LocalDate getLocalDate(String column, String dateFormat) throws ParseException
RecordgetLocalDate in interface Recordcolumn - - Name of the columndateFormat - - dateFormat of the dateParseException - if date format does not matchSimpleDateFormatpublic double getDouble(String column, DoubleSupplier defaultSupplier)
Recordpublic double getDouble(String column)
Recordpublic int getInt(String column, IntSupplier defaultSupplier)
Recordpublic int getInt(String column)
Recordpublic long getLong(String column, LongSupplier defaultSupplier)
Recordpublic long getLong(String column)
Recordpublic Object getObject(String column, Class<?> classToConvertTo)
Recordpublic BigDecimal getBigDecimal(String column, Supplier<BigDecimal> defaultSupplier)
RecordgetBigDecimal in interface Recordcolumn - - Name of the columndefaultSupplier - for default value if result in column is null/emptypublic BigDecimal getBigDecimal(String column)
RecordgetBigDecimal in interface Recordcolumn - - Name of the columnpublic String getString(String column, Supplier<String> defaultSupplier)
Recordpublic String getString(String column)
Recordpublic String getRawData()
getRawData in interface RecordCopyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.