Package io.atlasmap.builder
Class DefaultAtlasMappingBuilder
java.lang.Object
io.atlasmap.builder.DefaultAtlasMappingBuilder
- All Implemented Interfaces:
AtlasMappingBuilder
A base
AtlasMappingBuilder
with some common utility methods.
In most cases user can extend this class and just implement processMapping()
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
GetDefaultAtlasSession
.void
process()
Define custom mapping logic.abstract void
Define custom mapping logic.readConstant
(String name) readProperty
(String scope, String name) void
setAtlasSession
(AtlasSession session) SetAtlasSession
.void
-
Constructor Details
-
DefaultAtlasMappingBuilder
public DefaultAtlasMappingBuilder()
-
-
Method Details
-
read
- Throws:
AtlasException
-
readConstant
- Throws:
AtlasException
-
readProperty
- Throws:
AtlasException
-
write
- Throws:
AtlasException
-
process
public void process()Description copied from interface:AtlasMappingBuilder
Define custom mapping logic. User can implement this interface and define custom mapping logic in this method.- Specified by:
process
in interfaceAtlasMappingBuilder
-
processMapping
Define custom mapping logic. User can extend this class and implement custom mapping logic in this method. The thrown Exception will be catched inprocess()
and added as an Audit.- Throws:
Exception
- Indicate mapping error to be recorded as an Audit
-
setAtlasSession
Description copied from interface:AtlasMappingBuilder
SetAtlasSession
.- Specified by:
setAtlasSession
in interfaceAtlasMappingBuilder
- Parameters:
session
-AtlasSession
- Throws:
AtlasException
-
getAtlasSession
GetDefaultAtlasSession
.- Returns:
AtlasSession
.
-
addAudit
-