src/main/java/org/embulk/parser/poi_excel/bean/PoiExcelColumnBean.java in embulk-parser-poi_excel-0.1.6 vs src/main/java/org/embulk/parser/poi_excel/bean/PoiExcelColumnBean.java in embulk-parser-poi_excel-0.1.7
- old
+ new
@@ -229,9 +229,26 @@
public List<String> getAttributeName() {
return attributeName.get();
}
+ private CacheValue<String> numericFormat = new CacheValue<String>() {
+
+ @Override
+ protected Optional<String> getTaskValue(ColumnCommonOptionTask task) {
+ return task.getNumericFormat();
+ }
+
+ @Override
+ protected String getDefaultValue() {
+ return "";
+ }
+ };
+
+ public String getNumericFormat() {
+ return numericFormat.get();
+ }
+
private CacheValue<Boolean> searchMergedCell = new CacheValue<Boolean>() {
@Override
protected Optional<Boolean> getTaskValue(ColumnCommonOptionTask task) {
return task.getSearchMergedCell();