public class QueryExecUtils extends Object
Constructor and Description |
---|
QueryExecUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
execute(Op op,
DatasetGraph dsg) |
static void |
execute(Op op,
DatasetGraph dsg,
ResultsFormat outputFormat) |
static void |
executeQuery(Query query,
QueryExecution queryExecution) |
static void |
executeQuery(Query query,
QueryExecution queryExecution,
ResultsFormat outputFormat) |
static RDFNode |
getExactlyOne(QueryExecution qExec,
String varname)
Execute, expecting the result to be one row, one column.
|
static RDFNode |
getExactlyOne(String qs,
Dataset ds)
Execute a query, expecting the result to be one row, one column.
|
static RDFNode |
getExactlyOne(String qs,
Model model)
Execute a query, expecting the result to be one row, one column.
|
static RDFNode |
getOne(QueryExecution qExec,
String varname)
Execute, expecting the result to be one row, one column.
|
static void |
outputResultSet(ResultSet results,
Prologue prologue,
ResultsFormat outputFormat) |
public static void executeQuery(Query query, QueryExecution queryExecution)
public static void executeQuery(Query query, QueryExecution queryExecution, ResultsFormat outputFormat)
public static void execute(Op op, DatasetGraph dsg)
public static void execute(Op op, DatasetGraph dsg, ResultsFormat outputFormat)
public static void outputResultSet(ResultSet results, Prologue prologue, ResultsFormat outputFormat)
public static RDFNode getExactlyOne(String qs, Model model)
public static RDFNode getExactlyOne(String qs, Dataset ds)
public static RDFNode getExactlyOne(QueryExecution qExec, String varname)
public static RDFNode getOne(QueryExecution qExec, String varname)
Licenced under the Apache License, Version 2.0