MCPcopy Create free account
hub / github.com/apache/arrow / _arrow_dataset___DirectoryPartitioning

Function _arrow_dataset___DirectoryPartitioning

r/src/arrowExports.cpp:2058–2064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2056#if defined(ARROW_R_WITH_DATASET)
2057std::shared_ptr<ds::DirectoryPartitioning> dataset___DirectoryPartitioning(const std::shared_ptr<arrow::Schema>& schm, const std::string& segment_encoding);
2058extern "C" SEXP _arrow_dataset___DirectoryPartitioning(SEXP schm_sexp, SEXP segment_encoding_sexp){
2059BEGIN_CPP11
2060 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schm(schm_sexp);
2061 arrow::r::Input<const std::string&>::type segment_encoding(segment_encoding_sexp);
2062 return cpp11::as_sexp(dataset___DirectoryPartitioning(schm, segment_encoding));
2063END_CPP11
2064}
2065#else
2066extern "C" SEXP _arrow_dataset___DirectoryPartitioning(SEXP schm_sexp, SEXP segment_encoding_sexp){
2067 Rf_error("Cannot call dataset___DirectoryPartitioning(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected