Package org.sqlproc.engine.impl
Interface SqlMetaElement
-
- All Known Subinterfaces:
SqlMetaSimple
- All Known Implementing Classes:
SqlDatabaseColumn,SqlDatabaseTable,SqlMappingItem,SqlMetaAndOr,SqlMetaConst,SqlMetaIdent,SqlMetaIf,SqlMetaIfItem,SqlMetaLogExpr,SqlMetaOperator,SqlMetaOrd,SqlMetaSqlFragment,SqlMetaStatement,SqlMetaText
interface SqlMetaElementThe parents of all ANTLR grammar based elements for META SQL.- Author:
- Vladimir Hudec
-
-
Field Summary
Fields Modifier and Type Field Description static StringAND_PREFIXstatic charCONST_PREFIXstatic charIDENT_PREFIXstatic charIDENT_SEPARATORstatic intlCONST_PREFIXstatic intlIDENT_PREFIXstatic StringOR_PREFIXstatic StringSET_PREFIXstatic StringVALUES_PREFIXstatic StringWHERE_PREFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlProcessResultprocess(SqlProcessContext ctx)The main contract for a dynamic ANSI SQL Query generation.
-
-
-
Field Detail
-
IDENT_SEPARATOR
static final char IDENT_SEPARATOR
- See Also:
- Constant Field Values
-
IDENT_PREFIX
static final char IDENT_PREFIX
- See Also:
- Constant Field Values
-
lIDENT_PREFIX
static final int lIDENT_PREFIX
- See Also:
- Constant Field Values
-
CONST_PREFIX
static final char CONST_PREFIX
- See Also:
- Constant Field Values
-
lCONST_PREFIX
static final int lCONST_PREFIX
- See Also:
- Constant Field Values
-
AND_PREFIX
static final String AND_PREFIX
- See Also:
- Constant Field Values
-
OR_PREFIX
static final String OR_PREFIX
- See Also:
- Constant Field Values
-
WHERE_PREFIX
static final String WHERE_PREFIX
- See Also:
- Constant Field Values
-
SET_PREFIX
static final String SET_PREFIX
- See Also:
- Constant Field Values
-
VALUES_PREFIX
static final String VALUES_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
SqlProcessResult process(SqlProcessContext ctx)
The main contract for a dynamic ANSI SQL Query generation. Also known as a META SQL processing. The composite pattern main contract. All ANTLR grammar based elements must implement this contract.- Parameters:
ctx- the crate for all input parameters and the context of processing
-
-