Uploaded image for project: 'Crunch'
  1. Crunch
  2. CRUNCH-77

Scala PObjects should contain values of Scala types, not Java types.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Scrunch
    • Labels:
      None

      Description

      The current implementation of PObjects in Scrunch simply wraps a Java PObject (JPObject) and returns a value of the same type as that returned by the underlying JPObject. This is inconvenient, as users will likely wish to work with Scala types instead of Java types.

      PObjects in Scala should be modified to allow for conversions between Java and Scala types when returning values from the PObject.

        Attachments

        1. CRUNCH-77.patch
          25 kB
          Kiyan Ahmadizadeh

          Activity

            People

            • Assignee:
              kiyan Kiyan Ahmadizadeh
              Reporter:
              kiyan Kiyan Ahmadizadeh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: