|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sqlproc.engine.impl.SqlMetaAndOr
class SqlMetaAndOr
A META SQL sub-element.
Schematically:
SqlMetaAndOr
{ SqlMetaAndOrItem | SqlMetaAndOrItem...}
{& SqlMetaAndOrItem | SqlMetaAndOrItem...}
{| SqlMetaAndOrItem | SqlMetaAndOrItem...}
| Nested Class Summary | |
|---|---|
(package private) static class |
SqlMetaAndOr.Type
The enumeration of types. |
| Field Summary | |
|---|---|
(package private) java.util.List<SqlMetaAndOrItem> |
elements
The list of sub-elements based on ANTLR grammar. |
(package private) org.slf4j.Logger |
logger
The internal slf4j logger. |
(package private) SqlMetaAndOr.Type |
type
The type if this element. |
| Fields inherited from interface org.sqlproc.engine.impl.SqlMetaElement |
|---|
AND_PREFIX, CONST_PREFIX, IDENT_PREFIX, IDENT_PREFIX_LEN, IDENT_SEPARATOR, OR_PREFIX |
| Constructor Summary | |
|---|---|
SqlMetaAndOr(SqlMetaAndOr.Type type)
Creates a new instance. |
|
| Method Summary | |
|---|---|
(package private) void |
addElement(SqlMetaAndOrItem element)
Adds a new sub-element. |
(package private) java.lang.String |
getPrefix()
Returns one of the next ANSI SQL fragments: , AND or OR. |
SqlProcessResult |
process(SqlProcessContext ctx)
The main contract for a dynamic ANSI SQL Query generation. |
| 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
java.util.List<SqlMetaAndOrItem> elements
SqlMetaAndOr.Type type
| Constructor Detail |
|---|
SqlMetaAndOr(SqlMetaAndOr.Type type)
type - the type, which is used to control, how the related ANSI SQL fragment is added to the final ANSI SQL.| Method Detail |
|---|
void addElement(SqlMetaAndOrItem element)
element - new sub-element, based on ANTLR grammarjava.lang.String getPrefix()
, AND or OR.
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 | |||||||||