R/cpp11.R

Defines functions rapi_ptr_to_str rapi_adbc_init_func rapi_execute rapi_record_batch rapi_execute_arrow rapi_bind rapi_prepare rapi_prepare_substrait_json rapi_prepare_substrait rapi_get_substrait_json rapi_get_substrait rapi_release rapi_rel_from_altrep_df rapi_rel_to_altrep rapi_rel_from_table_function rapi_rel_from_table rapi_rel_set_symdiff rapi_rel_set_diff rapi_rel_set_intersect rapi_rel_names rapi_rel_sql rapi_rel_set_alias rapi_get_null_SEXP_ptr rapi_rel_alias rapi_rel_explain rapi_rel_to_sql rapi_rel_tostring rapi_rel_to_df rapi_rel_distinct rapi_rel_limit rapi_rel_union_all rapi_rel_join rapi_expr_window rapi_rel_order rapi_rel_aggregate rapi_rel_project rapi_rel_filter rapi_rel_from_df rapi_expr_tostring rapi_expr_set_alias rapi_expr_function rapi_expr_constant rapi_expr_reference rapi_unregister_arrow rapi_register_arrow rapi_unregister_df rapi_register_df rapi_shutdown rapi_startup rapi_disconnect rapi_connect

# Generated by cpp11: do not edit by hand

rapi_connect <- function(db) {
  .Call(`_duckdb_rapi_connect`, db)
}

rapi_disconnect <- function(conn) {
  invisible(.Call(`_duckdb_rapi_disconnect`, conn))
}

rapi_startup <- function(dbdir, readonly, configsexp) {
  .Call(`_duckdb_rapi_startup`, dbdir, readonly, configsexp)
}

rapi_shutdown <- function(dbsexp) {
  invisible(.Call(`_duckdb_rapi_shutdown`, dbsexp))
}

rapi_register_df <- function(conn, name, value, integer64, overwrite, experimental) {
  invisible(.Call(`_duckdb_rapi_register_df`, conn, name, value, integer64, overwrite, experimental))
}

rapi_unregister_df <- function(conn, name) {
  invisible(.Call(`_duckdb_rapi_unregister_df`, conn, name))
}

rapi_register_arrow <- function(conn, name, export_funs, valuesexp) {
  invisible(.Call(`_duckdb_rapi_register_arrow`, conn, name, export_funs, valuesexp))
}

rapi_unregister_arrow <- function(conn, name) {
  invisible(.Call(`_duckdb_rapi_unregister_arrow`, conn, name))
}

rapi_expr_reference <- function(rnames) {
  .Call(`_duckdb_rapi_expr_reference`, rnames)
}

rapi_expr_constant <- function(val) {
  .Call(`_duckdb_rapi_expr_constant`, val)
}

rapi_expr_function <- function(name, args, order_bys, filter_bys) {
  .Call(`_duckdb_rapi_expr_function`, name, args, order_bys, filter_bys)
}

rapi_expr_set_alias <- function(expr, alias) {
  invisible(.Call(`_duckdb_rapi_expr_set_alias`, expr, alias))
}

rapi_expr_tostring <- function(expr) {
  .Call(`_duckdb_rapi_expr_tostring`, expr)
}

rapi_rel_from_df <- function(con, df, experimental) {
  .Call(`_duckdb_rapi_rel_from_df`, con, df, experimental)
}

rapi_rel_filter <- function(rel, exprs) {
  .Call(`_duckdb_rapi_rel_filter`, rel, exprs)
}

rapi_rel_project <- function(rel, exprs) {
  .Call(`_duckdb_rapi_rel_project`, rel, exprs)
}

rapi_rel_aggregate <- function(rel, groups, aggregates) {
  .Call(`_duckdb_rapi_rel_aggregate`, rel, groups, aggregates)
}

rapi_rel_order <- function(rel, orders) {
  .Call(`_duckdb_rapi_rel_order`, rel, orders)
}

rapi_expr_window <- function(window_function, partitions, order_bys, window_boundary_start, window_boundary_end, start_expr, end_expr, offset_expr, default_expr) {
  .Call(`_duckdb_rapi_expr_window`, window_function, partitions, order_bys, window_boundary_start, window_boundary_end, start_expr, end_expr, offset_expr, default_expr)
}

rapi_rel_join <- function(left, right, conds, join, join_ref_type) {
  .Call(`_duckdb_rapi_rel_join`, left, right, conds, join, join_ref_type)
}

rapi_rel_union_all <- function(rel_a, rel_b) {
  .Call(`_duckdb_rapi_rel_union_all`, rel_a, rel_b)
}

rapi_rel_limit <- function(rel, n) {
  .Call(`_duckdb_rapi_rel_limit`, rel, n)
}

rapi_rel_distinct <- function(rel) {
  .Call(`_duckdb_rapi_rel_distinct`, rel)
}

rapi_rel_to_df <- function(rel) {
  .Call(`_duckdb_rapi_rel_to_df`, rel)
}

rapi_rel_tostring <- function(rel) {
  .Call(`_duckdb_rapi_rel_tostring`, rel)
}

rapi_rel_to_sql <- function(rel) {
  .Call(`_duckdb_rapi_rel_to_sql`, rel)
}

rapi_rel_explain <- function(rel) {
  .Call(`_duckdb_rapi_rel_explain`, rel)
}

rapi_rel_alias <- function(rel) {
  .Call(`_duckdb_rapi_rel_alias`, rel)
}

rapi_get_null_SEXP_ptr <- function() {
  .Call(`_duckdb_rapi_get_null_SEXP_ptr`)
}

rapi_rel_set_alias <- function(rel, alias) {
  .Call(`_duckdb_rapi_rel_set_alias`, rel, alias)
}

rapi_rel_sql <- function(rel, sql) {
  .Call(`_duckdb_rapi_rel_sql`, rel, sql)
}

rapi_rel_names <- function(rel) {
  .Call(`_duckdb_rapi_rel_names`, rel)
}

rapi_rel_set_intersect <- function(rel_a, rel_b) {
  .Call(`_duckdb_rapi_rel_set_intersect`, rel_a, rel_b)
}

rapi_rel_set_diff <- function(rel_a, rel_b) {
  .Call(`_duckdb_rapi_rel_set_diff`, rel_a, rel_b)
}

rapi_rel_set_symdiff <- function(rel_a, rel_b) {
  .Call(`_duckdb_rapi_rel_set_symdiff`, rel_a, rel_b)
}

rapi_rel_from_table <- function(con, schema_name, table_name) {
  .Call(`_duckdb_rapi_rel_from_table`, con, schema_name, table_name)
}

rapi_rel_from_table_function <- function(con, function_name, positional_parameters_sexps, named_parameters_sexps) {
  .Call(`_duckdb_rapi_rel_from_table_function`, con, function_name, positional_parameters_sexps, named_parameters_sexps)
}

rapi_rel_to_altrep <- function(rel) {
  .Call(`_duckdb_rapi_rel_to_altrep`, rel)
}

rapi_rel_from_altrep_df <- function(df, strict, allow_materialized) {
  .Call(`_duckdb_rapi_rel_from_altrep_df`, df, strict, allow_materialized)
}

rapi_release <- function(stmt) {
  invisible(.Call(`_duckdb_rapi_release`, stmt))
}

rapi_get_substrait <- function(conn, query, enable_optimizer) {
  .Call(`_duckdb_rapi_get_substrait`, conn, query, enable_optimizer)
}

rapi_get_substrait_json <- function(conn, query, enable_optimizer) {
  .Call(`_duckdb_rapi_get_substrait_json`, conn, query, enable_optimizer)
}

rapi_prepare_substrait <- function(conn, query) {
  .Call(`_duckdb_rapi_prepare_substrait`, conn, query)
}

rapi_prepare_substrait_json <- function(conn, json) {
  .Call(`_duckdb_rapi_prepare_substrait_json`, conn, json)
}

rapi_prepare <- function(conn, query) {
  .Call(`_duckdb_rapi_prepare`, conn, query)
}

rapi_bind <- function(stmt, params, arrow, integer64) {
  .Call(`_duckdb_rapi_bind`, stmt, params, arrow, integer64)
}

rapi_execute_arrow <- function(qry_res, chunk_size) {
  .Call(`_duckdb_rapi_execute_arrow`, qry_res, chunk_size)
}

rapi_record_batch <- function(qry_res, chunk_size) {
  .Call(`_duckdb_rapi_record_batch`, qry_res, chunk_size)
}

rapi_execute <- function(stmt, arrow, integer64) {
  .Call(`_duckdb_rapi_execute`, stmt, arrow, integer64)
}

rapi_adbc_init_func <- function() {
  .Call(`_duckdb_rapi_adbc_init_func`)
}

rapi_ptr_to_str <- function(extptr) {
  .Call(`_duckdb_rapi_ptr_to_str`, extptr)
}

Try the duckdb package in your browser

Any scripts or data that you put into this service are public.

duckdb documentation built on Nov. 17, 2023, 5:08 p.m.