Package org.sqlproc.engine.impl
Class SqlDatabaseColumn
java.lang.Object
org.sqlproc.engine.impl.SqlDatabaseColumn
- All Implemented Interfaces:
SqlMetaElement
,SqlMetaSimple
A META SQL sub-element. It represents the name of a database column, which is a text without any semantic value for a
META SQL generation.
- Author:
- Vladimir Hudec
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.slf4j.Logger
The internal slf4j logger.private String
The name of a database column.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(SqlProcessContext ctx) The main contract for a dynamic ANSI SQL Query generation.
-
Field Details
-
logger
final org.slf4j.Logger loggerThe internal slf4j logger. -
name
The name of a database column.
-
-
Constructor Details
-
SqlDatabaseColumn
SqlDatabaseColumn(String name) Creates a new instance. It's used from inside ANTLR parser.- Parameters:
name
- the name of a database column
-
-
Method Details
-
process
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.- Specified by:
process
in interfaceSqlMetaElement
- Parameters:
ctx
- the crate for all input parameters and the context of processing
-