Return the arity of product types, should probably only be used implicitly The use case here is to see how many fake field names we need in Cascading to hold an intermediate value for mapReduceMap
Return the arity of product types, should probably only be used implicitly The use case here is to see how many fake field names we need in Cascading to hold an intermediate value for mapReduceMap
assert that the arity of this setter matches the fields given.
assert that the arity of this setter matches the fields given. if arity == -1, we can't check, and if Fields is not a definite size, (such as Fields.ALL), we also cannot check, so this should only be considered a weak check.
Typeclass to represent converting from cascading TupleEntry to some type T. The most common application is to convert to scala Tuple objects for use with the Fields API. The typed API internally manually handles its mapping to cascading Tuples, so the implicit resolution mechanism is not used.
WARNING: if you are seeing issues with the singleConverter being found when you expect something else, you may have an issue where the enclosing scope needs to take an implicit TupleConverter of the correct type.
Unfortunately, the semantics we want (prefer to flatten tuples, but otherwise put everything into one postition in the tuple) are somewhat difficlut to encode in scala.