public abstract class AbstractDirectOutputKey extends ShuffleKey<WritableRawComparableUnion,WritableRawComparableUnion>
ShuffleKey.AbstractGroupComparator, ShuffleKey.AbstractOrderComparator, ShuffleKey.Partitioner
Modifier | Constructor and Description |
---|---|
protected |
AbstractDirectOutputKey(DirectOutputSpec... specs)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setObject(Object value)
Sets an object for the current position.
|
void |
setPosition(int position)
Sets new position.
|
compareInBytes, compareTo, equals, getGroupObject, getOrderObject, getSizeInBytes, hashCode, readFields, toString, write
protected AbstractDirectOutputKey(DirectOutputSpec... specs)
specs
- spec objectsIllegalArgumentException
- if some parameters were null
public void setPosition(int position)
position
- the new positionpublic void setObject(Object value)
value
- the objectCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.