public class BaseExcelExecution extends Object implements Execution
| Modifier and Type | Field and Description |
|---|---|
protected FileConnection |
connection |
protected org.apache.poi.ss.usermodel.FormulaEvaluator |
evaluator |
protected ExecutionContext |
executionContext |
protected RuntimeMetadata |
metadata |
protected Iterator<org.apache.poi.ss.usermodel.Row> |
rowIterator |
protected ExcelQueryVisitor |
visitor |
protected org.apache.poi.ss.usermodel.Workbook |
workbook |
| Constructor and Description |
|---|
BaseExcelExecution(ExecutionContext executionContext,
RuntimeMetadata metadata,
FileConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
void |
execute() |
protected File |
getCurrentXLSFile() |
protected File |
getNextXLSFile() |
org.apache.poi.ss.usermodel.Row |
nextRow() |
void |
setDataFormatter(org.apache.poi.ss.usermodel.DataFormatter dataFormatter) |
void |
visit(LanguageObject command) |
protected ExecutionContext executionContext
protected RuntimeMetadata metadata
protected FileConnection connection
protected Iterator<org.apache.poi.ss.usermodel.Row> rowIterator
protected ExcelQueryVisitor visitor
protected org.apache.poi.ss.usermodel.FormulaEvaluator evaluator
protected org.apache.poi.ss.usermodel.Workbook workbook
public BaseExcelExecution(ExecutionContext executionContext, RuntimeMetadata metadata, FileConnection connection)
public void visit(LanguageObject command) throws TranslatorException
TranslatorExceptionpublic void execute()
throws TranslatorException
execute in interface ExecutionTranslatorExceptionpublic org.apache.poi.ss.usermodel.Row nextRow()
throws TranslatorException,
DataNotAvailableException
protected File getNextXLSFile() throws TranslatorException
TranslatorExceptionprotected File getCurrentXLSFile()
public void cancel()
throws TranslatorException
cancel in interface ExecutionTranslatorExceptionpublic void setDataFormatter(org.apache.poi.ss.usermodel.DataFormatter dataFormatter)
Copyright © 2018 JBoss by Red Hat. All rights reserved.