Interface MappingConsumer

All Known Implementing Classes:
DeleteRequest.DeleteMappingConsumer, InsertRequest.InsertMappingConsumer, UpdateRequest.UpdateMappingConsumer

public interface MappingConsumer
Consumer of mappings.
  • Method Details

    • preConsumeMapping

      void preConsumeMapping(int highestFieldNumber)
      This method is called before consuming the mappings
      Parameters:
      highestFieldNumber - the highest number for the fields that are going to be provided in the consumer
    • consumeMapping

      void consumeMapping(JavaTypeMapping m, org.datanucleus.metadata.AbstractMemberMetaData mmd)
      Consumes a mapping associated to a member
      Parameters:
      m - The Java type mapping
      mmd - MetaData for the member
    • consumeMapping

      void consumeMapping(JavaTypeMapping m, MappingType mappingType)
      Consumes a mapping not associated to a member
      Parameters:
      m - Java type mapping
      mappingType - the Mapping type
    • consumeUnmappedColumn

      void consumeUnmappedColumn(Column col)
      Consume a column without mapping.
      Parameters:
      col - The column