class SqlMetaText extends Object implements SqlMetaSimple
Modifier and Type | Field and Description |
---|---|
(package private) org.slf4j.Logger |
logger
The internal slf4j logger.
|
private String |
sql
An ANSI SQL fragment from META SQL.
|
AND_PREFIX, CONST_PREFIX, IDENT_PREFIX, IDENT_SEPARATOR, lCONST_PREFIX, lIDENT_PREFIX, OR_PREFIX, SET_PREFIX, VALUES_PREFIX, WHERE_PREFIX
Constructor and Description |
---|
SqlMetaText(String sql)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isWhite()
Returns an indicator that the text fragment is empty.
|
SqlProcessResult |
process(SqlProcessContext ctx)
The main contract for a dynamic ANSI SQL Query generation.
|
final org.slf4j.Logger logger
private String sql
SqlMetaText(String sql)
sql
- the ANSI SQL fragment from META SQLpublic boolean isWhite()
public SqlProcessResult process(SqlProcessContext ctx)
process
in interface SqlMetaElement
ctx
- the crate for all input parameters and the context of processingCopyright © 2016. All rights reserved.