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

org.apache.crunch.impl.spark
Class IntByteArray

java.lang.Object
  extended by org.apache.crunch.impl.spark.ByteArray
      extended by org.apache.crunch.impl.spark.IntByteArray
All Implemented Interfaces:
Serializable, Comparable<ByteArray>

public class IntByteArray
extends ByteArray
implements Serializable

See Also:
Serialized Form

Field Summary
 int partition
           
 
Fields inherited from class org.apache.crunch.impl.spark.ByteArray
value
 
Constructor Summary
IntByteArray(int partition, byte[] bytes)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class org.apache.crunch.impl.spark.ByteArray
compareTo
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

partition

public final int partition
Constructor Detail

IntByteArray

public IntByteArray(int partition,
                    byte[] bytes)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class ByteArray

hashCode

public int hashCode()
Overrides:
hashCode in class ByteArray


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