use of org.teiid.translator.google.visitor.SpreadsheetSQLVisitor in project teiid by teiid.
the class SpreadsheetQueryExecution method execute.
@Override
public void execute() throws TranslatorException {
SpreadsheetSQLVisitor visitor = new SpreadsheetSQLVisitor(connection.getSpreadsheetInfo());
visitor.translateSQL(query);
rowIterator = connection.executeQuery(visitor.getWorksheetTitle(), visitor.getTranslatedSQL(), visitor.getOffsetValue(), visitor.getLimitValue(), executionContext.getBatchSize()).iterator();
}
Aggregations