Sha256: 4d1ca3af43daa3608625b671ff8ab97e47e54feceec7b66507b6734fa4d5123b

Contents?: true

Size: 1.37 KB

Versions: 9

Compression:

Stored size: 1.37 KB

Contents

package org.embulk.parser.poi_excel.visitor;

import org.apache.poi.ss.usermodel.Sheet;
import org.embulk.parser.poi_excel.PoiExcelParserPlugin.PluginTask;
import org.embulk.parser.poi_excel.bean.PoiExcelColumnBean;
import org.embulk.parser.poi_excel.bean.PoiExcelSheetBean;
import org.embulk.spi.Column;
import org.embulk.spi.PageBuilder;
import org.embulk.spi.Schema;

public class PoiExcelVisitorValue {
	private final PluginTask task;
	private final Sheet sheet;
	private final PageBuilder pageBuilder;
	private final PoiExcelSheetBean sheetBean;
	private PoiExcelVisitorFactory factory;

	public PoiExcelVisitorValue(PluginTask task, Schema schema, Sheet sheet, PageBuilder pageBuilder) {
		this.task = task;
		this.sheet = sheet;
		this.pageBuilder = pageBuilder;
		this.sheetBean = new PoiExcelSheetBean(task, schema, sheet);
	}

	public PluginTask getPluginTask() {
		return task;
	}

	public Sheet getSheet() {
		return sheet;
	}

	public PageBuilder getPageBuilder() {
		return pageBuilder;
	}

	public void setVisitorFactory(PoiExcelVisitorFactory factory) {
		this.factory = factory;
	}

	public PoiExcelVisitorFactory getVisitorFactory() {
		return factory;
	}

	public PoiExcelSheetBean getSheetBean() {
		return sheetBean;
	}

	public PoiExcelColumnBean getColumnBean(Column column) {
		return sheetBean.getColumnBean(column);
	}
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
embulk-parser-poi_excel-0.1.12 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.11 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.10 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.7 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.6 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.5 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.4 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.3 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java
embulk-parser-poi_excel-0.1.2 src/main/java/org/embulk/parser/poi_excel/visitor/PoiExcelVisitorValue.java