Package io.atlasmap.json.module
Class JsonModule
java.lang.Object
io.atlasmap.core.BaseAtlasModule
io.atlasmap.json.module.JsonModule
- All Implemented Interfaces:
AtlasModuleMXBean
,AtlasModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloneField
(Field field) isSupportedField
(Field field) void
populateTargetField
(AtlasInternalSession session) Populate target field value, usually by just copy from source field value.void
void
void
void
void
processPreValidation
(AtlasInternalSession atlasSession) void
readSourceValue
(AtlasInternalSession session) Read source field value from source document and store into source field object.void
writeTargetValue
(AtlasInternalSession session) Write target field value into target document.Methods inherited from class io.atlasmap.core.BaseAtlasModule
applySourceFieldActions, applyTargetFieldActions, createCollectionHelper, destroy, getClassLoader, getClassName, getCollectionHelper, getConversionService, getDataFormats, getDataSourceMetadata, getDocId, getDocName, getFieldActionService, getMode, getModeName, getName, getPackageNames, getSourceCount, getSourceErrorCount, getSourceMaxExecutionTime, getSourceMinExecutionTime, getSourceSuccessCount, getSourceTotalExecutionTime, getTargetCount, getTargetErrorCount, getTargetMaxExecutionTime, getTargetMinExecutionTime, getTargetSuccessCount, getTargetTotalExecutionTime, getUri, getUriDataType, getUriParameters, getUuid, getVersion, init, isAutomaticallyProcessOutputFieldActions, isSourceSupported, isStatisticsEnabled, isStatisticsSupported, isTargetSupported, listSupportedModes, processLookupField, processPostValidation, readAndResetStatistics, setAutomaticallyProcessOutputFieldActions, setClassLoader, setConversionService, setDataSourceMetadata, setDocId, setDocName, setFieldActionService, setMode, setStatisticsEnabled, setUri
-
Constructor Details
-
JsonModule
public JsonModule()
-
-
Method Details
-
processPreValidation
- Throws:
AtlasException
-
processPreSourceExecution
- Throws:
AtlasException
-
processPreTargetExecution
- Throws:
AtlasException
-
readSourceValue
Description copied from interface:AtlasModule
Read source field value from source document and store into source field object.- Parameters:
session
- current session- Throws:
AtlasException
- failed to read source value
-
populateTargetField
Description copied from interface:AtlasModule
Populate target field value, usually by just copy from source field value. Also apply type converters where it's needed.- Specified by:
populateTargetField
in interfaceAtlasModule
- Overrides:
populateTargetField
in classBaseAtlasModule
- Parameters:
session
- current session- Throws:
AtlasException
- failed to populate target field value
-
writeTargetValue
Description copied from interface:AtlasModule
Write target field value into target document.- Parameters:
session
- current session- Throws:
AtlasException
- faield to write target field value
-
processPostSourceExecution
- Throws:
AtlasException
-
processPostTargetExecution
- Throws:
AtlasException
-
isSupportedField
- Specified by:
isSupportedField
in interfaceAtlasModule
- Overrides:
isSupportedField
in classBaseAtlasModule
-
cloneField
- Throws:
AtlasException
-
createField
-