Class DataMappingExpressionContext

HierarchicalExpressionContext
com.northconcepts.datapipeline.foundations.datamapping.DataMappingExpressionContext

public class DataMappingExpressionContext extends HierarchicalExpressionContext
The expression context used by a DataMapping, exposing the source, target, previousSource and previousTarget contexts to expressions by name.
  • Constructor Details

    • DataMappingExpressionContext

      public DataMappingExpressionContext(ExpressionContext source, ExpressionContext target, ExpressionContext previousSource, ExpressionContext previousTarget)
    • DataMappingExpressionContext

      public DataMappingExpressionContext(ExpressionContext source, ExpressionContext target)
  • Method Details

    • getSource

      public ExpressionContext getSource()
    • getTarget

      public ExpressionContext getTarget()
    • getPreviousSource

      public ExpressionContext getPreviousSource()
      Returns the source context of the previously mapped record, or null if there is none (such as for the first record).
    • getPreviousTarget

      public ExpressionContext getPreviousTarget()
      Returns the target context of the previously mapped record, or null if there is none (such as for the first record).
    • getTypeImpl

      protected Class<?> getTypeImpl(String name)
    • getValueImpl

      protected Object getValueImpl(String name)
    • containsKeyImpl

      protected boolean containsKeyImpl(String name)
    • getRecord

      public Record getRecord()