Package org.apache.spark.storage.memory
Interface ValuesHolder<T>
- All Known Implementing Classes:
- DeserializedValuesHolder,- SerializedValuesHolder
public interface ValuesHolder<T>
- 
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) 
- 
Method Details- 
estimatedSizelong estimatedSize()
- 
getBuilderMemoryEntryBuilder<T> getBuilder()Note: After this method is called, the ValuesHolder is invalid, we can't store data and get estimate size again.- Returns:
- a MemoryEntryBuilder which is used to build a memory entry and get the stored data size.
 
- 
storeValue
 
-