@Override
public ClosableIterator<Tuple> executeBackendQuery(BackendQuery<String> backendQuery, QueryParameters queryParameters) {
Map<String, Object> parameters = getNamedParameterValuesConvertedByGridType( queryParameters );
String nativeQuery = buildNativeQuery( backendQuery, queryParameters );
ExecutionResult result = executionEngine.execute( nativeQuery, parameters );
if ( backendQuery.getSingleEntityKeyMetadataOrNull() != null ) {
return new NodesTupleIterator( result );
}
return new MapsTupleIterator( result );