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

org.apache.crunch.impl.spark
Class ByteArray

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

public class ByteArray
extends Object
implements Serializable, Comparable<ByteArray>

See Also:
Serialized Form

Field Summary
 byte[] value
           
 
Constructor Summary
ByteArray(byte[] value)
           
 
Method Summary
 int compareTo(ByteArray other)
           
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public final byte[] value
Constructor Detail

ByteArray

public ByteArray(byte[] value)
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ByteArray other)
Specified by:
compareTo in interface Comparable<ByteArray>


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