public class SortFns extends Object
DoFns that are used by Crunch's Sort library.| Modifier and Type | Class and Description | 
|---|---|
| static class  | SortFns.AvroGenericFn<V extends Tuple>Pulls a composite set of keys from an Avro  GenericRecordinstance. | 
| static class  | SortFns.KeyExtraction<V extends Tuple>Utility class for encapsulating key extraction logic and serialization information about
 key extraction. | 
| static class  | SortFns.SingleKeyFn<V extends Tuple,K>Extracts a single indexed key from a  Tupleinstance. | 
| static class  | SortFns.TupleKeyFn<V extends Tuple,K extends Tuple>Extracts a composite key from a  Tupleinstance. | 
| Constructor and Description | 
|---|
| SortFns() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <S> org.apache.avro.Schema | createOrderedTupleSchema(PType<S> ptype,
                        Sort.ColumnOrder[] orders)Constructs an Avro schema for the given  PType<S>that respects the given column
 orderings. | 
public static <S> org.apache.avro.Schema createOrderedTupleSchema(PType<S> ptype, Sort.ColumnOrder[] orders)
PType<S> that respects the given column
 orderings.Copyright © 2017 The Apache Software Foundation. All rights reserved.