Package com.adbs.metadata
Class BaseMetadataFieldsFetcher
- java.lang.Object
-
- com.adbs.metadata.BaseMetadataFieldsFetcher
-
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
BaseMetadataFieldsFetcherVariants
public class BaseMetadataFieldsFetcher extends java.lang.Object implements Disposable
-
-
Constructor Summary
Constructors Constructor Description BaseMetadataFieldsFetcher(BaseSQLContext sqlContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcalcDefaultValue()protected voidcalcFieldName(SQLQualifiedName name)protected booleancalcIsNullable()protected booleancalcIsPrimaryKey()protected booleancalcIsReadOnly()protected java.lang.StringcalcLongDescription()protected intcalcPrecision()protected intcalcScale()protected java.lang.StringcalcShortDescription()protected intcalcSize()protected java.lang.StringcalcTypeOnServer()protected booleancanCalcDefaultValue()protected booleancanCalcIsNullable()protected booleancanCalcIsReadOnly()protected booleancanCalcLongDescription()protected booleancanCalcPrecision()protected booleancanCalcPrimaryKey()protected booleancanCalcScale()protected booleancanCalcShortDescription()protected booleancanCalcSize()protected booleancanCalcTypeOnServer()protected voidclose()voiddispose()BaseSQLContextgetSqlContext()booleangetTrimSpaces()protected voidinit()voidloadFields(MetadataFieldList fields)protected booleannext()voidsetTrimSpaces(boolean trimSpaces)protected java.lang.StringtrimName(java.lang.String name)
-
-
-
Constructor Detail
-
BaseMetadataFieldsFetcher
public BaseMetadataFieldsFetcher(BaseSQLContext sqlContext)
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable
-
getSqlContext
public BaseSQLContext getSqlContext()
-
init
protected void init() throws QueryBuilderException- Throws:
QueryBuilderException
-
close
protected void close()
-
next
protected boolean next() throws QueryBuilderException- Throws:
QueryBuilderException
-
calcFieldName
protected void calcFieldName(SQLQualifiedName name)
-
canCalcPrimaryKey
protected boolean canCalcPrimaryKey()
-
calcIsPrimaryKey
protected boolean calcIsPrimaryKey()
-
canCalcIsNullable
protected boolean canCalcIsNullable()
-
calcIsNullable
protected boolean calcIsNullable()
-
canCalcIsReadOnly
protected boolean canCalcIsReadOnly()
-
calcIsReadOnly
protected boolean calcIsReadOnly()
-
canCalcTypeOnServer
protected boolean canCalcTypeOnServer()
-
calcTypeOnServer
protected java.lang.String calcTypeOnServer()
-
canCalcSize
protected boolean canCalcSize()
-
calcSize
protected int calcSize()
-
canCalcPrecision
protected boolean canCalcPrecision()
-
canCalcScale
protected boolean canCalcScale()
-
calcPrecision
protected int calcPrecision()
-
calcScale
protected int calcScale()
-
canCalcDefaultValue
protected boolean canCalcDefaultValue()
-
calcDefaultValue
protected java.lang.String calcDefaultValue()
-
canCalcShortDescription
protected boolean canCalcShortDescription()
-
calcShortDescription
protected java.lang.String calcShortDescription()
-
canCalcLongDescription
protected boolean canCalcLongDescription()
-
calcLongDescription
protected java.lang.String calcLongDescription()
-
trimName
protected java.lang.String trimName(java.lang.String name)
-
loadFields
public void loadFields(MetadataFieldList fields) throws QueryBuilderException
- Throws:
QueryBuilderException
-
getTrimSpaces
public boolean getTrimSpaces()
-
setTrimSpaces
public void setTrimSpaces(boolean trimSpaces)
-
-