Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
dmlc::io::URISpec Class Reference

some super set of URI that allows sugars to be passed around Example: More...

#include <uri_spec.h>

Public Member Functions

 URISpec (const std::string &uri, unsigned part_index, unsigned num_parts)
 constructor.
 

Data Fields

std::string uri
 the real URI
 
std::map< std::string, std::string > args
 arguments in the URL
 
std::string cache_file
 the path to cache file
 

Detailed Description

some super set of URI that allows sugars to be passed around Example:

hdfs:///mylibsvm/?format=libsvm&clabel=0#mycache-file.

Constructor & Destructor Documentation

◆ URISpec()

dmlc::io::URISpec::URISpec ( const std::string &  uri,
unsigned  part_index,
unsigned  num_parts 
)
inlineexplicit

constructor.

Parameters
uriThe raw uri string.
part_indexThe parition index of the part.
num_partstotal number of parts.

The documentation for this class was generated from the following file: