public class BaseMetadataFieldsFetcher extends java.lang.Object implements Disposable
Constructor and Description |
---|
BaseMetadataFieldsFetcher(BaseSQLContext sqlContext) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
calcDefaultValue() |
protected void |
calcFieldName(SQLQualifiedName name) |
protected boolean |
calcIsNullable() |
protected boolean |
calcIsPrimaryKey() |
protected boolean |
calcIsReadOnly() |
protected java.lang.String |
calcLongDescription() |
protected int |
calcPrecision() |
protected int |
calcScale() |
protected java.lang.String |
calcShortDescription() |
protected int |
calcSize() |
protected java.lang.String |
calcTypeOnServer() |
protected boolean |
canCalcDefaultValue() |
protected boolean |
canCalcIsNullable() |
protected boolean |
canCalcIsReadOnly() |
protected boolean |
canCalcLongDescription() |
protected boolean |
canCalcPrecision() |
protected boolean |
canCalcPrimaryKey() |
protected boolean |
canCalcScale() |
protected boolean |
canCalcShortDescription() |
protected boolean |
canCalcSize() |
protected boolean |
canCalcTypeOnServer() |
protected void |
close() |
void |
dispose() |
BaseSQLContext |
getSqlContext() |
boolean |
getTrimSpaces() |
protected void |
init() |
void |
loadFields(MetadataFieldList fields) |
protected boolean |
next() |
void |
setTrimSpaces(boolean trimSpaces) |
protected java.lang.String |
trimName(java.lang.String name) |
public BaseMetadataFieldsFetcher(BaseSQLContext sqlContext)
public void dispose()
dispose
in interface Disposable
public BaseSQLContext getSqlContext()
protected void init() throws QueryBuilderException
QueryBuilderException
protected void close()
protected boolean next() throws QueryBuilderException
QueryBuilderException
protected void calcFieldName(SQLQualifiedName name)
protected boolean canCalcPrimaryKey()
protected boolean calcIsPrimaryKey()
protected boolean canCalcIsNullable()
protected boolean calcIsNullable()
protected boolean canCalcIsReadOnly()
protected boolean calcIsReadOnly()
protected boolean canCalcTypeOnServer()
protected java.lang.String calcTypeOnServer()
protected boolean canCalcSize()
protected int calcSize()
protected boolean canCalcPrecision()
protected boolean canCalcScale()
protected int calcPrecision()
protected int calcScale()
protected boolean canCalcDefaultValue()
protected java.lang.String calcDefaultValue()
protected boolean canCalcShortDescription()
protected java.lang.String calcShortDescription()
protected boolean canCalcLongDescription()
protected java.lang.String calcLongDescription()
protected java.lang.String trimName(java.lang.String name)
public void loadFields(MetadataFieldList fields) throws QueryBuilderException
QueryBuilderException
public boolean getTrimSpaces()
public void setTrimSpaces(boolean trimSpaces)