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
ConstructorDescriptionOrcList
(TypeDescription schema) OrcList
(TypeDescription schema, int initialCapacity) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
hashCode()
void
readFields
(DataInput input) void
write
(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, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
OrcList
-
OrcList
-
-
Method Details
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceWritable
- Throws:
IOException
-
compareTo
- Specified by:
compareTo
in interfaceComparable<E extends WritableComparable>
-
equals
- Specified by:
equals
in interfaceCollection<E extends WritableComparable>
- Specified by:
equals
in interfaceList<E extends WritableComparable>
- Overrides:
equals
in classArrayList<E extends WritableComparable>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<E extends WritableComparable>
- Specified by:
hashCode
in interfaceList<E extends WritableComparable>
- Overrides:
hashCode
in classArrayList<E extends WritableComparable>
-