public class BaseExcelExecution extends Object implements Execution
| Modifier and Type | Field and Description |
|---|---|
protected VirtualFileConnection |
connection |
protected org.apache.poi.ss.usermodel.FormulaEvaluator |
evaluator |
protected ExecutionContext |
executionContext |
protected boolean |
immutable |
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,
VirtualFileConnection connection,
boolean immutable) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
void |
execute() |
protected VirtualFile |
getCurrentXLSFile() |
protected VirtualFile |
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 VirtualFileConnection connection
protected boolean immutable
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, VirtualFileConnection connection, boolean immutable)
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 VirtualFile getNextXLSFile() throws TranslatorException
TranslatorExceptionprotected VirtualFile getCurrentXLSFile()
public void cancel()
throws TranslatorException
cancel in interface ExecutionTranslatorExceptionpublic void setDataFormatter(org.apache.poi.ss.usermodel.DataFormatter dataFormatter)
Copyright © 2020. All rights reserved.