public class DeserializedValuesHolder<T> extends Object implements ValuesHolder<T>
Constructor and Description |
---|
DeserializedValuesHolder(scala.reflect.ClassTag<T> classTag,
org.apache.spark.memory.MemoryMode memoryMode) |
Modifier and Type | Method and Description |
---|---|
Object |
arrayValues() |
long |
estimatedSize() |
MemoryEntryBuilder<T> |
getBuilder()
Note: After this method is called, the ValuesHolder is invalid, we can't store data and
get estimate size again.
|
void |
storeValue(T value) |
org.apache.spark.util.collection.SizeTrackingVector<T> |
vector() |
public DeserializedValuesHolder(scala.reflect.ClassTag<T> classTag, org.apache.spark.memory.MemoryMode memoryMode)
public Object arrayValues()
public long estimatedSize()
estimatedSize
in interface ValuesHolder<T>
public MemoryEntryBuilder<T> getBuilder()
ValuesHolder
getBuilder
in interface ValuesHolder<T>
public void storeValue(T value)
storeValue
in interface ValuesHolder<T>
public org.apache.spark.util.collection.SizeTrackingVector<T> vector()