|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nsdl.mptstore.query.provider.TriplePatternSQLProvider
public class TriplePatternSQLProvider
Translates a TriplePattern
into a series of SQL statements.
Constructor Summary | |
---|---|
TriplePatternSQLProvider(TableManager tableManager,
boolean backslashIsEscape,
TriplePattern pattern,
java.util.List<java.lang.String> targets)
Instantiate from the given values. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getSQL()
Get the sequence of SELECT statements. |
java.util.List<java.lang.String> |
getTargets()
Get the names of the values that are being selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriplePatternSQLProvider(TableManager tableManager, boolean backslashIsEscape, TriplePattern pattern, java.util.List<java.lang.String> targets)
tableManager
- the table manager to use for getting table names.backslashIsEscape
- whether backslash should be escaped in SQL.pattern
- the triple pattern.targets
- the variable names to use.Method Detail |
---|
public java.util.List<java.lang.String> getTargets()
getTargets
in interface SQLProvider
public java.util.List<java.lang.String> getSQL()
SELECT
statements.
getSQL
in interface SQLProvider
SELECT
statements.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |