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 SummaryConstructors Constructor Description BaseMetadataFieldsFetcher(BaseSQLContext sqlContext)
 - 
Method SummaryAll 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- 
BaseMetadataFieldsFetcherpublic BaseMetadataFieldsFetcher(BaseSQLContext sqlContext) 
 
- 
 - 
Method Detail- 
disposepublic void dispose() - Specified by:
- disposein interface- Disposable
 
 - 
getSqlContextpublic BaseSQLContext getSqlContext() 
 - 
initprotected void init() throws QueryBuilderException- Throws:
- QueryBuilderException
 
 - 
closeprotected void close() 
 - 
nextprotected boolean next() throws QueryBuilderException- Throws:
- QueryBuilderException
 
 - 
calcFieldNameprotected void calcFieldName(SQLQualifiedName name) 
 - 
canCalcPrimaryKeyprotected boolean canCalcPrimaryKey() 
 - 
calcIsPrimaryKeyprotected boolean calcIsPrimaryKey() 
 - 
canCalcIsNullableprotected boolean canCalcIsNullable() 
 - 
calcIsNullableprotected boolean calcIsNullable() 
 - 
canCalcIsReadOnlyprotected boolean canCalcIsReadOnly() 
 - 
calcIsReadOnlyprotected boolean calcIsReadOnly() 
 - 
canCalcTypeOnServerprotected boolean canCalcTypeOnServer() 
 - 
calcTypeOnServerprotected java.lang.String calcTypeOnServer() 
 - 
canCalcSizeprotected boolean canCalcSize() 
 - 
calcSizeprotected int calcSize() 
 - 
canCalcPrecisionprotected boolean canCalcPrecision() 
 - 
canCalcScaleprotected boolean canCalcScale() 
 - 
calcPrecisionprotected int calcPrecision() 
 - 
calcScaleprotected int calcScale() 
 - 
canCalcDefaultValueprotected boolean canCalcDefaultValue() 
 - 
calcDefaultValueprotected java.lang.String calcDefaultValue() 
 - 
canCalcShortDescriptionprotected boolean canCalcShortDescription() 
 - 
calcShortDescriptionprotected java.lang.String calcShortDescription() 
 - 
canCalcLongDescriptionprotected boolean canCalcLongDescription() 
 - 
calcLongDescriptionprotected java.lang.String calcLongDescription() 
 - 
trimNameprotected java.lang.String trimName(java.lang.String name) 
 - 
loadFieldspublic void loadFields(MetadataFieldList fields) throws QueryBuilderException - Throws:
- QueryBuilderException
 
 - 
getTrimSpacespublic boolean getTrimSpaces() 
 - 
setTrimSpacespublic void setTrimSpaces(boolean trimSpaces) 
 
- 
 
-