public class SdbStatementGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DOMAIN_QUOTE |
static String |
VALUE_QUOTE |
| Constructor and Description |
|---|
SdbStatementGenerator(boolean bScramble) |
| Modifier and Type | Method and Description |
|---|---|
String |
createSelectStatement(Row aMeta,
IDBBackendQuery iQuery) |
static String |
nameColumn(String sColumn)
make sure that column names use our prefix.
|
static String |
nameTable(String sTable)
make sure that table names use our prefix.
|
static String |
quoteColumn(String sColumn)
quote the given column.
|
static String |
quoteTable(String sTable) |
static String |
quoteValue(String sValue) |
public static final String DOMAIN_QUOTE
public static final String VALUE_QUOTE
public String createSelectStatement(Row aMeta, IDBBackendQuery iQuery) throws Exception
Exceptionpublic static String quoteTable(String sTable) throws Exception
sTable - [IN]
the original table name.Exceptionpublic static String quoteColumn(String sColumn) throws Exception
sColumn - [IN]
the column name to be quoted here.Exceptionpublic static String nameTable(String sTable) throws Exception
sTable - [IN]
the pure table name to be extended here.Exceptionpublic static String nameColumn(String sColumn) throws Exception
sColumn - [IN]
the pure column name to be extended here.ExceptionCopyright © 2016 as-development.net. All rights reserved.