Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ianoc/type descriptor #1147

Merged
merged 3 commits into from
Dec 31, 2014
Merged

Ianoc/type descriptor #1147

merged 3 commits into from
Dec 31, 2014

Conversation

ianoc
Copy link
Collaborator

@ianoc ianoc commented Dec 31, 2014

This adds the type descriptor macro and type. Will need a develop merge once the other PR goes in to make it look smaller.

package com.twitter.scalding

import cascading.tuple.Fields

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a comment here:

/**
 * This class is used to bind together a Fields instance which may contain a type array via getTypes,
 * a TupleConverter and TupleSetter, which are inverses of one another. Note the size of the Fields
 * object and the arity values for the converter and setter are all the same. Note in the scalding-macros
 * package there are macros to generate this for case classes, which may be very convenient.
 */

@ianoc
Copy link
Collaborator Author

ianoc commented Dec 31, 2014

Merged develop + added comment as noted

@johnynek
Copy link
Collaborator

Merge when green.

ianoc added a commit that referenced this pull request Dec 31, 2014
@ianoc ianoc merged commit b97558e into develop Dec 31, 2014
@ianoc ianoc deleted the ianoc/TypeDescriptor branch December 31, 2014 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants