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

Tuple API should be decoupled from Table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha2
    • 3.0.0-alpha3
    • sql
    • Docs Required, Release Notes Required

    Description

      Currently, a tuple can be created via a builder which can be acquired from a table. This is counterintuitive because in the general case, a tuple does not have a direct relation with a particular table (think of a tuple that is a part of a SQL result set, for example).

      Instead, we should treat Tuple as a simple data structure that can be reused for multiple purposes. That said, let's do the following changes to the API:

      • Make Tuple mutable (i.e., add setters).
      • Get rid of the builder, as it becomes redundant.
      • Move tuple creation from the Table API to Ignite API.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: