ExternalSorter ============== .. cpp:class:: numpy::ExternalSorter numpy C++ class. Example ------- .. code-block:: cpp #include using namespace numpy; // Use ExternalSorter ExternalSorter obj; // ... operations ... Constructors ------------ .. list-table:: :widths: 55 25 20 :header-rows: 1 * - Signature - Location - Example * - ``ExternalSorter(size_tmem_limit = 100\*1024\*1024, const std::string &temp_directory = "./temp")`` - NP_SORTING_ALGORITHMS.H:1831 - Sorting ------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``void sort_chunk(std::vector&chunk, const std::string &filename)`` - void - NP_SORTING_ALGORITHMS.H:1764 - * - ``void sort_file(const std::string &input_file, const std::string &output_file)`` - void - NP_SORTING_ALGORITHMS.H:1836 - Other Methods ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``void merge_chunks(const std::vector&chunk_files, const std::string &output_file)`` - void - NP_SORTING_ALGORITHMS.H:1773 -