public class ResultSetUtils extends Object
Constructor and Description |
---|
ResultSetUtils() |
Modifier and Type | Method and Description |
---|---|
static List<RDFNode> |
resultSetToList(ResultSet rs,
String selectElement)
Extracts a List filled with the binding of selectElement variable for each
query solution as RDFNodes (Resources or Literals).
|
static List<String> |
resultSetToStringList(ResultSet rs,
String selectElement,
String literalOrResource)
Extracts a List filled with the binding of selectElement variable for each
query solution, turned into a string (URIs or lexical forms).
|
static ResultSet |
union(ResultSet... sets)
Create an in-memory result set from an array of
ResulSets.
|
public static List<RDFNode> resultSetToList(ResultSet rs, String selectElement)
ResultSetFactory
public static List<String> resultSetToStringList(ResultSet rs, String selectElement, String literalOrResource)
ResultSetFactory
Licenced under the Apache License, Version 2.0