This project has retired. For details please refer to its Attic page.
SortFns.KeyExtraction (Apache Crunch 0.8.0 API)

org.apache.crunch.lib.sort
Class SortFns.KeyExtraction<V extends Tuple>

java.lang.Object
  extended by org.apache.crunch.lib.sort.SortFns.KeyExtraction<V>
Enclosing class:
SortFns

public static class SortFns.KeyExtraction<V extends Tuple>
extends Object

Utility class for encapsulating key extraction logic and serialization information about key extraction.


Constructor Summary
SortFns.KeyExtraction(PType<V> ptype, Sort.ColumnOrder[] columnOrder)
           
 
Method Summary
 MapFn<V,Object> getByFn()
           
 PType<Object> getKeyType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortFns.KeyExtraction

public SortFns.KeyExtraction(PType<V> ptype,
                             Sort.ColumnOrder[] columnOrder)
Method Detail

getByFn

public MapFn<V,Object> getByFn()

getKeyType

public PType<Object> getKeyType()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.