public class SQL99DialectAdapter extends Object implements SQLDialectAdapter
| Constructor and Description |
|---|
SQL99DialectAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildDefaultName(String prefix,
String intermediateName,
String suffix)
Concatenates the strings.
|
protected String |
escapedSingleQuote() |
protected String |
getSQLLexicalFormString(String constant)
By default, quotes and escapes isolated single quotes
|
Optional<String> |
getTrueTable()
Returns the name of special system table having one tuple only if the FROM clause is always required in the dialect
|
String |
nameTopVariable(String signatureVariableName,
Set<String> sqlVariableNames)
Allows the SQL dialect adapter to put restrict on the name (e.g.
|
String |
render(it.unibz.inf.ontop.model.term.DBConstant constant) |
String |
sqlQuote(String name) |
String |
sqlSlice(long limit,
long offset)
There is no standard for this part.
|
protected String escapedSingleQuote()
public String sqlQuote(String name)
sqlQuote in interface SQLDialectAdapterpublic String sqlSlice(long limit, long offset)
Arbitrary default implementation proposed (may not work with many DB engines).
sqlSlice in interface SQLDialectAdapterpublic String nameTopVariable(String signatureVariableName, Set<String> sqlVariableNames)
SQLDialectAdapternameTopVariable in interface SQLDialectAdapterpublic String render(it.unibz.inf.ontop.model.term.DBConstant constant)
render in interface SQLDialectAdapterprotected final String buildDefaultName(String prefix, String intermediateName, String suffix)
Returns an UNQUOTED string.
public Optional<String> getTrueTable()
SQLDialectAdaptergetTrueTable in interface SQLDialectAdapterCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.