public class GenerateSQL extends Object implements SQLGenerator
Modifier and Type | Field and Description |
---|---|
static boolean |
forceOldGenerator |
Constructor and Description |
---|
GenerateSQL() |
Modifier and Type | Method and Description |
---|---|
static SqlNode |
ensureProject(SDBRequest request,
SqlNode sqlNode) |
String |
generatePartSQL(SqlNode sqlNode)
Generate an SQL string for the node - which may no tbe legal SQL (e.g.
|
String |
generateSQL(SDBRequest request,
SqlNode sqlNode)
Generate an SQL statement for the node - force the outer level to be a SELECT
|
static String |
toPartSQL(SDBRequest request,
SqlNode sqlNode) |
static String |
toSQL(SDBRequest request,
SqlNode sqlNode) |
public static String toSQL(SDBRequest request, SqlNode sqlNode)
public static String toPartSQL(SDBRequest request, SqlNode sqlNode)
public String generateSQL(SDBRequest request, SqlNode sqlNode)
generateSQL
in interface SQLGenerator
public String generatePartSQL(SqlNode sqlNode)
public static SqlNode ensureProject(SDBRequest request, SqlNode sqlNode)
Licenced under the Apache License, Version 2.0