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

Thin 3.0: SQL ResultSet object mapping

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • thin client
    • Docs Required, Release Notes Required

    Description

      Table API provides object mapping capabilities:

      RecordView<PersonPojo> pojoView = table.recordView(Mapper.of(PersonPojo.class));
      PersonPojo val = pojoView.get(null, key);
      

      This is cleaner and more efficient than working with *IgniteTuple*s (less allocations and type casts).

      Implement similar functionality for SQL API - users should be able to map query results to POJOs.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              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 - 1h 10m
                  1h 10m