|
||||||||||
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) java.util.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_PREFIX_LEN, IDENT_SEPARATOR, OR_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
java.util.List<SqlMetaLogOperand> elements
Constructor Detail |
---|
SqlMetaLogExpr()
SqlMetaLogExpr(boolean not)
not
- the indicator, which reverses the final logical valueMethod 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 SqlMetaLogOperand
ctx
- the context for a dynamic ANSI SQL Query generation
public SqlProcessResult process(SqlProcessContext ctx)
process
in interface SqlMetaElement
ctx
- 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 |