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

Extend Tuple interface with ordered field access

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      Let's extend Tuple interface by adding methods for indexed column access (like JDBC resultset has).

      It may need to expose more information about Tuple structure, such as

      • column name -> column index
      • all columns in the tuple (name + type (ColumnType))
      • length()
      • value(int index)
      • Iterable implementation

      This may be useful for SQL\JDBC drivers and bulk operation where Tuples can have the same structure and column order.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ptupitsyn Pavel Tupitsyn
                Reporter:
                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 - 3h
                  3h