Class CacheDataIO¶
Defined in File CacheData.h
Inheritance Relationships¶
Base Type¶
public ral::cache::CacheData
(Class CacheData)
Class Documentation¶
-
class
ral::cache
::
CacheDataIO
: public ral::cache::CacheData¶ A CacheData that stores is data in an ORC file. This allows us to cache onto filesystems to allow larger queries to run on limited resources. This is the least performant cache in most instances.
Public Functions
Constructor
- Parameters
table
: The BlazingTable that is converted into an ORC file and stored on disk. @ param orc_files_path The path where the file should be stored.
-
virtual std::unique_ptr<ral::frame::BlazingTable>
decache
() override¶ Constructor
- Parameters
table
: The BlazingTable that is converted into an ORC file and stored on disk. @ param orc_files_path The path where the file should be stored.
-
virtual size_t
sizeInBytes
() const override¶ Get the amount of GPU memory that the decached BlazingTable WOULD consume. Having this function allows us to have one api for seeing how much GPU memory is necessary to decache the file from disk.
- Return
The number of bytes needed for the BlazingTable decache would generate.
-
inline virtual void
set_names
(const std::vector<std::string> &names) override¶ Set the names of the columns from the schema.
- Parameters
names
: a vector of the column names.
-
inline virtual
~CacheDataIO
()¶ Destructor