This project has retired. For details please refer to its Attic page.
PTableType (Apache Crunch 0.10.0 API)

org.apache.crunch.types
Interface PTableType<K,V>

All Superinterfaces:
PType<Pair<K,V>>, Serializable

public interface PTableType<K,V>
extends PType<Pair<K,V>>

An extension of PType specifically for PTable objects. It allows separate access to the PTypes of the key and value for the PTable.


Method Summary
 PGroupedTableType<K,V> getGroupedTableType()
          Returns the grouped table version of this type.
 PType<K> getKeyType()
          Returns the key type for the table.
 PType<V> getValueType()
          Returns the value type for the table.
 
Methods inherited from interface org.apache.crunch.types.PType
getConverter, getDefaultFileSource, getDetachedValue, getFamily, getInputMapFn, getOutputMapFn, getSubTypes, getTypeClass, initialize
 

Method Detail

getKeyType

PType<K> getKeyType()
Returns the key type for the table.


getValueType

PType<V> getValueType()
Returns the value type for the table.


getGroupedTableType

PGroupedTableType<K,V> getGroupedTableType()
Returns the grouped table version of this type.



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