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.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)
-
-
-
Constructor Detail
-
BaseMetadataFieldsFetcher
public BaseMetadataFieldsFetcher(BaseSQLContext sqlContext)
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in 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)
-
-