Package org.apache.orc.mapred
Class OrcList<E extends WritableComparable>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
org.apache.orc.mapred.OrcList<E>
- Type Parameters:
E- the element type, which must be Writable
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<OrcList<E>>,Iterable<E>,Collection<E>,List<E>,RandomAccess,Writable,WritableComparable<OrcList<E>>
public class OrcList<E extends WritableComparable>
extends ArrayList<E>
implements WritableComparable<OrcList<E>>
An ArrayList implementation that implements Writable.
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionOrcList(TypeDescription schema) OrcList(TypeDescription schema, int initialCapacity) -
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()voidreadFields(DataInput input) voidwrite(DataOutput output) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
OrcList
-
OrcList
-
-
Method Details
-
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-
readFields
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
compareTo
- Specified by:
compareToin interfaceComparable<E extends WritableComparable>
-
equals
- Specified by:
equalsin interfaceCollection<E extends WritableComparable>- Specified by:
equalsin interfaceList<E extends WritableComparable>- Overrides:
equalsin classArrayList<E extends WritableComparable>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<E extends WritableComparable>- Specified by:
hashCodein interfaceList<E extends WritableComparable>- Overrides:
hashCodein classArrayList<E extends WritableComparable>
-