@Override
    public Collection<LocalDataQueryResultRow> getRows(final ShowSQLFederationRuleStatement sqlStatement, final ContextManager contextManager) {
        SQLFederationRuleConfiguration ruleConfig = rule.getConfiguration();
        boolean sqlFederationEnabled = ruleConfig.isSqlFederationEnabled();
        boolean allQueryUseSQLFederation = ruleConfig.isAllQueryUseSQLFederation();
        String executionPlanCache = null == ruleConfig.getExecutionPlanCache() ? "" : ruleConfig.getExecutionPlanCache().toString();
        return Collections.singleton(new LocalDataQueryResultRow(sqlFederationEnabled, allQueryUseSQLFederation, executionPlanCache));
    }
@Test
    void assertGetRows() throws SQLException {
        engine.executeQuery();
        Collection<LocalDataQueryResultRow> actual = engine.getRows();
        assertThat(actual.size(), is(1));
        Iterator<LocalDataQueryResultRow> iterator = actual.iterator();
        LocalDataQueryResultRow row = iterator.next();
        assertThat(row.getCell(1), is("true"));
        assertThat(row.getCell(2), is("true"));
        assertThat(row.getCell(3), is("initialCapacity: 2000, maximumSize: 65535"));
    }