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

Decouple API and implementation for Tuple.

    XMLWordPrintableJSON

Details

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

    Description

      TupleImpl implements a public API interface Tuple and resides in ignite-api module.
      Public API implementation must be hidden from a user to avoid direct usage/instantiation.

      This can be achieved in next ways
      1. Move TupleImpl to an internal package of the e.g. ignite-table module and use ServiceLoader for tuple factory.
      This introduces implicit module dependency and a new factory interface/class.
      2. Make TupleImpl package-private class.
      We will not be able to create a TupleImpl object directly, but seems it is ok to use factory methods.

      Let's make TupleImpl a package-private class.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m