Class ConstantModule

  • All Implemented Interfaces:
    io.atlasmap.spi.AtlasModule

    public class ConstantModule
    extends Object
    implements io.atlasmap.spi.AtlasModule
    • Constructor Detail

      • ConstantModule

        public ConstantModule()
    • Method Detail

      • init

        public void init()
        Specified by:
        init in interface io.atlasmap.spi.AtlasModule
      • destroy

        public void destroy()
        Specified by:
        destroy in interface io.atlasmap.spi.AtlasModule
      • setClassLoader

        public void setClassLoader​(ClassLoader classLoader)
        Specified by:
        setClassLoader in interface io.atlasmap.spi.AtlasModule
      • getClassLoader

        public ClassLoader getClassLoader()
        Specified by:
        getClassLoader in interface io.atlasmap.spi.AtlasModule
      • processPreValidation

        public void processPreValidation​(io.atlasmap.spi.AtlasInternalSession session)
                                  throws io.atlasmap.api.AtlasException
        Specified by:
        processPreValidation in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • processPreSourceExecution

        public void processPreSourceExecution​(io.atlasmap.spi.AtlasInternalSession session)
                                       throws io.atlasmap.api.AtlasException
        Specified by:
        processPreSourceExecution in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • readSourceValue

        public void readSourceValue​(io.atlasmap.spi.AtlasInternalSession session)
                             throws io.atlasmap.api.AtlasException
        Specified by:
        readSourceValue in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • processPostSourceExecution

        public void processPostSourceExecution​(io.atlasmap.spi.AtlasInternalSession session)
                                        throws io.atlasmap.api.AtlasException
        Specified by:
        processPostSourceExecution in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • processPreTargetExecution

        public void processPreTargetExecution​(io.atlasmap.spi.AtlasInternalSession session)
                                       throws io.atlasmap.api.AtlasException
        Specified by:
        processPreTargetExecution in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • populateTargetField

        public void populateTargetField​(io.atlasmap.spi.AtlasInternalSession session)
                                 throws io.atlasmap.api.AtlasException
        Specified by:
        populateTargetField in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • writeTargetValue

        public void writeTargetValue​(io.atlasmap.spi.AtlasInternalSession session)
                              throws io.atlasmap.api.AtlasException
        Specified by:
        writeTargetValue in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • processPostTargetExecution

        public void processPostTargetExecution​(io.atlasmap.spi.AtlasInternalSession session)
                                        throws io.atlasmap.api.AtlasException
        Specified by:
        processPostTargetExecution in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • processPostValidation

        public void processPostValidation​(io.atlasmap.spi.AtlasInternalSession session)
                                   throws io.atlasmap.api.AtlasException
        Specified by:
        processPostValidation in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • getMode

        public io.atlasmap.spi.AtlasModuleMode getMode()
        Specified by:
        getMode in interface io.atlasmap.spi.AtlasModule
      • setMode

        public void setMode​(io.atlasmap.spi.AtlasModuleMode atlasModuleMode)
        Specified by:
        setMode in interface io.atlasmap.spi.AtlasModule
      • getConversionService

        public io.atlasmap.spi.AtlasConversionService getConversionService()
        Specified by:
        getConversionService in interface io.atlasmap.spi.AtlasModule
      • setConversionService

        public void setConversionService​(io.atlasmap.spi.AtlasConversionService atlasConversionService)
        Specified by:
        setConversionService in interface io.atlasmap.spi.AtlasModule
      • listSupportedModes

        public List<io.atlasmap.spi.AtlasModuleMode> listSupportedModes()
        Specified by:
        listSupportedModes in interface io.atlasmap.spi.AtlasModule
      • getDocId

        public String getDocId()
        Specified by:
        getDocId in interface io.atlasmap.spi.AtlasModule
      • setDocId

        public void setDocId​(String docId)
        Specified by:
        setDocId in interface io.atlasmap.spi.AtlasModule
      • getUri

        public String getUri()
        Specified by:
        getUri in interface io.atlasmap.spi.AtlasModule
      • setUri

        public void setUri​(String uri)
        Specified by:
        setUri in interface io.atlasmap.spi.AtlasModule
      • isStatisticsSupported

        public Boolean isStatisticsSupported()
        Specified by:
        isStatisticsSupported in interface io.atlasmap.spi.AtlasModule
      • isStatisticsEnabled

        public Boolean isStatisticsEnabled()
        Specified by:
        isStatisticsEnabled in interface io.atlasmap.spi.AtlasModule
      • isSupportedField

        public Boolean isSupportedField​(io.atlasmap.v2.Field field)
        Specified by:
        isSupportedField in interface io.atlasmap.spi.AtlasModule
      • cloneField

        public io.atlasmap.v2.Field cloneField​(io.atlasmap.v2.Field field)
                                        throws io.atlasmap.api.AtlasException
        Specified by:
        cloneField in interface io.atlasmap.spi.AtlasModule
        Throws:
        io.atlasmap.api.AtlasException
      • getFieldActionService

        public io.atlasmap.spi.AtlasFieldActionService getFieldActionService()
        Specified by:
        getFieldActionService in interface io.atlasmap.spi.AtlasModule
      • setFieldActionService

        public void setFieldActionService​(io.atlasmap.spi.AtlasFieldActionService atlasFieldActionService)
        Specified by:
        setFieldActionService in interface io.atlasmap.spi.AtlasModule
      • getCollectionHelper

        public io.atlasmap.spi.AtlasCollectionHelper getCollectionHelper()
        Specified by:
        getCollectionHelper in interface io.atlasmap.spi.AtlasModule
      • getUriDataType

        public String getUriDataType()
        Specified by:
        getUriDataType in interface io.atlasmap.spi.AtlasModule
      • getUriParameters

        public Map<String,​String> getUriParameters()
        Specified by:
        getUriParameters in interface io.atlasmap.spi.AtlasModule
      • setDataSourceMetadata

        public void setDataSourceMetadata​(io.atlasmap.v2.DataSourceMetadata meta)
        Specified by:
        setDataSourceMetadata in interface io.atlasmap.spi.AtlasModule
      • getDataSourceMetadata

        public io.atlasmap.v2.DataSourceMetadata getDataSourceMetadata()
        Specified by:
        getDataSourceMetadata in interface io.atlasmap.spi.AtlasModule
      • setDocName

        public void setDocName​(String docName)
        Specified by:
        setDocName in interface io.atlasmap.spi.AtlasModule
      • getDocName

        public String getDocName()
        Specified by:
        getDocName in interface io.atlasmap.spi.AtlasModule
      • createField

        public io.atlasmap.v2.ConstantField createField()
        Specified by:
        createField in interface io.atlasmap.spi.AtlasModule