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

Function Init_Altrep_classes

r/src/altrep.cpp:1033–1041  ·  view source on GitHub ↗

initialize the altrep classes

Source from the content-addressed store, hash-verified

1031
1032// initialize the altrep classes
1033void Init_Altrep_classes(DllInfo* dll) {
1034 InitAltRealClass<AltrepVectorPrimitive<REALSXP>>(dll, "arrow::array_dbl_vector");
1035 InitAltIntegerClass<AltrepVectorPrimitive<INTSXP>>(dll, "arrow::array_int_vector");
1036 InitAltIntegerClass<AltrepFactor>(dll, "arrow::array_factor");
1037
1038 InitAltStringClass<AltrepVectorString<StringType>>(dll, "arrow::array_string_vector");
1039 InitAltStringClass<AltrepVectorString<LargeStringType>>(
1040 dll, "arrow::array_large_string_vector");
1041}
1042
1043// return an altrep R vector that shadows the array if possible
1044SEXP MakeAltrepVector(const std::shared_ptr<ChunkedArray>& chunked_array) {

Callers 1

R_init_arrowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected