Class BaseMetadataFieldsFetcher

java.lang.Object
com.adbs.metadata.BaseMetadataFieldsFetcher
All Implemented Interfaces:
Disposable
Direct Known Subclasses:
BaseMetadataFieldsFetcherVariants

public class BaseMetadataFieldsFetcher extends Object implements Disposable
  • Constructor Details

    • BaseMetadataFieldsFetcher

      public BaseMetadataFieldsFetcher(BaseSQLContext sqlContext)
  • Method Details

    • dispose

      public void dispose()
      Specified by:
      dispose in interface Disposable
    • 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 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 String calcDefaultValue()
    • canCalcShortDescription

      protected boolean canCalcShortDescription()
    • calcShortDescription

      protected String calcShortDescription()
    • canCalcLongDescription

      protected boolean canCalcLongDescription()
    • calcLongDescription

      protected String calcLongDescription()
    • trimName

      protected String trimName(String name)
    • loadFields

      public void loadFields(MetadataFieldList fields) throws QueryBuilderException
      Throws:
      QueryBuilderException
    • getTrimSpaces

      public boolean getTrimSpaces()
    • setTrimSpaces

      public void setTrimSpaces(boolean trimSpaces)