execute: GMQL Function: EXECUTE

View source: R/gmql_materialize.R

executeR Documentation

GMQL Function: EXECUTE

Description

It executes GMQL query. The function works only after invoking at least one collect

Usage

execute()

Value

None

Examples

## This statement initializes and runs the GMQL server for local execution 
## and creation of results on disk. Then, with system.file() it defines 
## the path to the folder "DATASET" in the subdirectory "example" 
## of the package "RGMQL" and opens such folder as a GMQL dataset 
## named "data"

init_gmql()
test_path <- system.file("example", "DATASET", package = "RGMQL")
data = read_gmql(test_path)

## The following statement materializes the dataset "data", previoulsy read, 
## at the specific destination test_path into local folder "ds1" opportunely 
## created

collect(data, dir_out = test_path)

## This statement executes GMQL query.
## Not run: 

execute()

## End(Not run)

DEIB-GECO/RGMQL documentation built on Feb. 17, 2024, 10:39 p.m.