public class DirectTaskResult<T> extends Object implements TaskResult<T>, java.io.Externalizable
Constructor and Description |
---|
DirectTaskResult() |
DirectTaskResult(java.nio.ByteBuffer valueBytes,
scala.collection.mutable.Map<Object,Object> accumUpdates,
org.apache.spark.executor.TaskMetrics metrics) |
Modifier and Type | Method and Description |
---|---|
scala.collection.mutable.Map<Object,Object> |
accumUpdates() |
org.apache.spark.executor.TaskMetrics |
metrics() |
void |
readExternal(java.io.ObjectInput in) |
T |
value() |
java.nio.ByteBuffer |
valueBytes() |
void |
writeExternal(java.io.ObjectOutput out) |
public DirectTaskResult(java.nio.ByteBuffer valueBytes, scala.collection.mutable.Map<Object,Object> accumUpdates, org.apache.spark.executor.TaskMetrics metrics)
public DirectTaskResult()
public java.nio.ByteBuffer valueBytes()
public scala.collection.mutable.Map<Object,Object> accumUpdates()
public org.apache.spark.executor.TaskMetrics metrics()
public void writeExternal(java.io.ObjectOutput out)
writeExternal
in interface java.io.Externalizable
public void readExternal(java.io.ObjectInput in)
readExternal
in interface java.io.Externalizable
public T value()