Package org.apache.spark.storage.memory
Class DeserializedValuesHolder<T>
Object
org.apache.spark.storage.memory.DeserializedValuesHolder<T>
- All Implemented Interfaces:
 ValuesHolder<T>
A holder for storing the deserialized values.
- 
Constructor Summary
ConstructorsConstructorDescriptionDeserializedValuesHolder(scala.reflect.ClassTag<T> classTag, org.apache.spark.memory.MemoryMode memoryMode)  - 
Method Summary
Modifier and TypeMethodDescriptionlongNote: After this method is called, the ValuesHolder is invalid, we can't store data and get estimate size again.voidstoreValue(T value) org.apache.spark.util.collection.SizeTrackingVector<T>vector() 
- 
Constructor Details
- 
DeserializedValuesHolder
public DeserializedValuesHolder(scala.reflect.ClassTag<T> classTag, org.apache.spark.memory.MemoryMode memoryMode)  
 - 
 - 
Method Details
- 
arrayValues
 - 
estimatedSize
public long estimatedSize()- Specified by:
 estimatedSizein interfaceValuesHolder<T>
 - 
getBuilder
Description copied from interface:ValuesHolderNote: After this method is called, the ValuesHolder is invalid, we can't store data and get estimate size again.- Specified by:
 getBuilderin interfaceValuesHolder<T>- Returns:
 - a MemoryEntryBuilder which is used to build a memory entry and get the stored data size.
 
 - 
storeValue
- Specified by:
 storeValuein interfaceValuesHolder<T>
 - 
vector
 
 -