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 SummaryConstructorsConstructorDescriptionDeserializedValuesHolder(scala.reflect.ClassTag<T> classTag, org.apache.spark.memory.MemoryMode memoryMode) 
- 
Method SummaryModifier 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- 
DeserializedValuesHolderpublic DeserializedValuesHolder(scala.reflect.ClassTag<T> classTag, org.apache.spark.memory.MemoryMode memoryMode) 
 
- 
- 
Method Details- 
arrayValues
- 
estimatedSizepublic long estimatedSize()- Specified by:
- estimatedSizein interface- ValuesHolder<T>
 
- 
getBuilderDescription 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 interface- ValuesHolder<T>
- Returns:
- a MemoryEntryBuilder which is used to build a memory entry and get the stored data size.
 
- 
storeValue- Specified by:
- storeValuein interface- ValuesHolder<T>
 
- 
vector
 
-