public class PathConevrter extends SelectConverter
Constructor and Description |
---|
PathConevrter(Scanner scannerObj)
Constructor to initiate scanner object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert()
Method to convert the SPARQL query.
|
java.sql.ResultSet |
execute()
Execute the converted query.
|
Path |
getPath()
Return the result path.
|
static java.lang.String |
getPathID(java.lang.String name)
Get the id of path.
|
java.lang.String |
visualize()
Method to visualize the result of query.
|
cc, findNode, getEdgeByPredicate, SetAggregate, setFromApply, setTriple
createCsvFile, getConverTime, getInstance, getScanner
public PathConevrter(Scanner scannerObj)
scannerObj
- public Path getPath()
public java.lang.String convert() throws java.sql.SQLException
Converter
convert
in class SelectConverter
java.sql.SQLException
public java.lang.String visualize() throws java.sql.SQLException
Converter
visualize
in class SelectConverter
java.sql.SQLException
public java.sql.ResultSet execute() throws java.sql.SQLException
Converter
execute
in class SelectConverter
java.sql.SQLException
public static java.lang.String getPathID(java.lang.String name) throws java.sql.SQLException
name
- Name of the path node.java.sql.SQLException