|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sqlproc.engine.impl.SqlMetaLogExpr
class SqlMetaLogExpr
A META SQL sub-element.
Schematically:
SqlMetaLogExpr
SqlMetaIdent
SqlMetaConst
SqlMetaLogOperator
SqlMetaLogExpr for embedded ()
| Field Summary | |
|---|---|
(package private) List<SqlMetaLogOperand> |
elements
The list of sub-elements based on ANTLR grammar. |
(package private) org.slf4j.Logger |
logger
The internal slf4j logger. |
private boolean |
not
The indicator, which reverses the final logical value. |
| Fields inherited from interface org.sqlproc.engine.impl.SqlMetaElement |
|---|
AND_PREFIX, CONST_PREFIX, IDENT_PREFIX, IDENT_SEPARATOR, lCONST_PREFIX, lIDENT_PREFIX, OR_PREFIX, SET_PREFIX, VALUES_PREFIX, WHERE_PREFIX |
| Constructor Summary | |
|---|---|
SqlMetaLogExpr()
Creates a new instance. |
|
SqlMetaLogExpr(boolean not)
Creates a new instance of this entity. |
|
| Method Summary | |
|---|---|
(package private) void |
addElement(SqlMetaLogOperand element)
Adds a new sub-element. |
(package private) boolean |
isNot()
Returns the indicator, which reverses the final logical value. |
SqlProcessResult |
process(SqlProcessContext ctx)
The main contract for a dynamic ANSI SQL Query generation. |
boolean |
processExpression(SqlProcessContext ctx)
The main contract to evaluate a logical value of META SQL sub-elements. |
(package private) void |
setNot(boolean not)
Sets the indicator, which reverses the final logical value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final org.slf4j.Logger logger
private boolean not
List<SqlMetaLogOperand> elements
| Constructor Detail |
|---|
SqlMetaLogExpr()
SqlMetaLogExpr(boolean not)
not - the indicator, which reverses the final logical value| Method Detail |
|---|
void addElement(SqlMetaLogOperand element)
element - new sub-element, based on ANTLR grammarboolean isNot()
void setNot(boolean not)
not - a new value of the indicatorpublic boolean processExpression(SqlProcessContext ctx)
processExpression in interface SqlMetaLogOperandctx - the context for a dynamic ANSI SQL Query generation
public SqlProcessResult process(SqlProcessContext ctx)
process in interface SqlMetaElementctx - the crate for all input parameters and the context of processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||