Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15783

Mapper API and simple implementation.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • sql
    • Docs Required, Release Notes Required

    Description

      Design Mapper API for user POJO classes for use in KvView and RecordView.

      NB: Most likely, there is no need to have different interfaces for Key/Value/Record mappers
      and the same implementation can be reused for all cases.

      Let's

      • Implement an IdentityMapper as a default one that binds the POJO field to the column with the same name.
      • Implement a simple mapper that allows binding the POJO field to the column with a different name.
        Field <--> column mapping expected to be one-to-one function.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h