public abstract class ViewTableColumnParser<T extends ParserResult,A extends java.lang.annotation.Annotation> extends java.lang.Object implements AnnotationParser
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
aliasName |
protected java.lang.String |
aliasVariale |
protected A |
annotation |
protected javax.lang.model.element.Element |
field |
protected boolean |
ignoreId |
protected SimpleViewParser |
parentParser |
protected ParserEnv |
parserEnv |
protected java.lang.String |
tableName |
| Constructor and Description |
|---|
ViewTableColumnParser(ParserEnv parserEnv,
SimpleViewParser parentParser,
javax.lang.model.element.Element f,
boolean ignoreId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAlias() |
protected void |
checkColumnExists(java.lang.String c) |
abstract java.lang.Class<A> |
getAnnotationClass() |
protected ColumnMeta |
getColumnName(java.lang.String c) |
protected javax.lang.model.element.Element |
getField() |
protected java.util.List<ColumnMeta> |
parseColumns() |
protected java.util.List<ColumnMeta> |
parseColumns(java.lang.String[] selectedColumns) |
abstract java.lang.String |
parseTableName() |
static java.lang.String |
toSqlSelect(java.util.List<ColumnMeta> columns) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseprotected final java.lang.String aliasName
protected final java.lang.String aliasVariale
protected final boolean ignoreId
protected final javax.lang.model.element.Element field
protected final A extends java.lang.annotation.Annotation annotation
protected final java.lang.String tableName
protected final ParserEnv parserEnv
protected final SimpleViewParser parentParser
public ViewTableColumnParser(ParserEnv parserEnv, SimpleViewParser parentParser, javax.lang.model.element.Element f, boolean ignoreId)
protected javax.lang.model.element.Element getField()
public abstract java.lang.Class<A> getAnnotationClass()
public abstract java.lang.String parseTableName()
protected java.util.List<ColumnMeta> parseColumns()
protected java.util.List<ColumnMeta> parseColumns(java.lang.String[] selectedColumns)
protected ColumnMeta getColumnName(java.lang.String c)
public static java.lang.String toSqlSelect(java.util.List<ColumnMeta> columns)
protected void checkAlias()
protected void checkColumnExists(java.lang.String c)