public interface HasSQL
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ADD_PLAN_INFORMATION
Add execution plan information.
|
static int |
DEFAULT_SQL_FLAGS
Default flags.
|
static int |
NO_CASTS
Don't add casts around literals.
|
static int |
QUOTE_ONLY_WHEN_REQUIRED
Quote identifiers only when it is strictly required (different case or
identifier is also a keyword).
|
static int |
REPLACE_LOBS_FOR_TRACE
Replace long LOB values with some generated values.
|
static int |
TRACE_SQL_FLAGS
Combined flags for trace.
|
| 限定符和类型 | 方法和说明 |
|---|---|
default String |
getSQL(int sqlFlags)
Get the SQL statement of this expression.
|
StringBuilder |
getSQL(StringBuilder builder,
int sqlFlags)
Appends the SQL statement of this object to the specified builder.
|
default String |
getTraceSQL()
Get a medium size SQL expression for debugging or tracing.
|
static final int QUOTE_ONLY_WHEN_REQUIRED
static final int REPLACE_LOBS_FOR_TRACE
static final int NO_CASTS
static final int ADD_PLAN_INFORMATION
static final int DEFAULT_SQL_FLAGS
static final int TRACE_SQL_FLAGS
default String getTraceSQL()
default String getSQL(int sqlFlags)
sqlFlags - formatting flagsStringBuilder getSQL(StringBuilder builder, int sqlFlags)
builder - string buildersqlFlags - formatting flagsCopyright © 2022. All rights reserved.