Results of 1 - 10 of about 284 for DuckDB (0.009 sec.)
- Complete API 7641
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ This page contains the reference for DuckDB's C API. The reference contains several deprecation notices. These concern methods whose long-term availability is not guaranteed as they
...may be removed in the future. That said, DuckDB's developers plan to carry out deprecations slowly as several of the deprecated methods do not yet have a fully functional...not part of the v1.0 stable API, which contains methods that are available long-term. API Reference Overview Open Connect duckdb_instance_cache duckdb_create_instance_cache (); duckdb_state duckdb_get_or_create_from_cache ( duckdb_instance_cache insta...nce_cache , const char * path , duckdb_database * out_database , duckdb_config config , char ** out_error ); void duckdb_destroy_instance_cache ( duckdb_instance... - https://man.mtool.work/duckdb/1.3/clients/c/api.html
- Types 7641
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ DuckDB is a strongly typed database system. As such, every column has a single type specified. This type is constant over the entire column. That is to say, a column that is labeled
...as an INTEGER column will only contain INTEGER values. DuckDB also supports columns of composite types. For example, it is possible to define an array of integers ( INTEGER[] ). It is...also possible to define types as arbitrary structs ( ROW(i INTEGER, j VARCHAR) ). For that reason, native DuckDB type objects are not mere enums, but a class that can potentially be nested. Types in the C API are modeled using an enum...( duckdb_type ) and a complex class ( duckdb_logical_type ). For most primitive types, e.g., integers or varchars, the enum is suff... - https://man.mtool.work/duckdb/1.3/clients/c/types.html
- Values 7641
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The value class represents a single value of any type. API Reference Overview void duckdb_destroy_value ( duckdb_value * value ); duckdb_value duckdb_create_varchar ( const char * te
...xt ); duckdb_value duckdb_create_varchar_length ( const char * text , idx_t length ); duckdb_value duckdb_create_bool ( bool input ); d...uckdb_value duckdb_create_int8 ( int8_t input ); duckdb_value duckdb_create_uint8 ( uint8_t input ); duckdb_value duckdb_create_int16 ( int16..._t input ); duckdb_value duckdb_create_uint16 ( uint16_t input ); duckdb_value duckdb_create_int32 ( int32_t input ); duckdb_value duckdb_cre... - https://man.mtool.work/duckdb/1.3/clients/c/value.html
- Python Client API 7641
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ class duckdb. BinaryValue ( object : Any ) Bases: Value class duckdb. BinderException Bases: ProgrammingError class duckdb. BitValue ( object : Any ) Bases: Value class duckdb. BlobV
...alue ( object : Any ) Bases: Value class duckdb. BooleanValue ( object : Any ) Bases: Value class duckdb. CSVLineTerminator Bases: pybind11_object Members: LINE_FEED CARR...IAGE_RETURN_LINE_FEED property name duckdb. CaseExpression ( condition : duckdb.duckdb.Expression , value : duckdb.duckdb.Expression ) → duckdb.duckdb.Expression cla...ss duckdb. CatalogException Bases: ProgrammingError duckdb. CoalesceOperator ( * args ) → duckdb.duckdb.Expression duckdb. ColumnExp... - https://man.mtool.work/duckdb/1.3/clients/python/reference/
- Appender 7603
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ Appenders are the most efficient way of loading data into DuckDB from within the C interface, and are recommended for fast data loading. The appender is much faster than using prepar
...ed statements or individual INSERT INTO statements. Appends are made in row-wise format. For every column, a duckdb_append_[type] call should be made, after which the row should be finished by calling duckdb_appender_end_row . After all r...ows have been appended, duckdb_appender_destroy should be used to finalize the appender and clean up the resulting memory. Note that duckdb_appender_dest...roy should always be called on the resulting appender, even if the function returns DuckDBError . Example duckdb_query(con, "CREATE TABLE people (id INTEGER, name VARCHAR)", NULL); duckdb_appender appender; if (du... - https://man.mtool.work/duckdb/1.3/clients/c/appender.html
- Relational API 7372
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The Relational API is an alternative API that can be used to incrementally construct queries. The API is centered around DuckDBPyRelation nodes. The relations can be seen as symbolic
...– until a method that triggers execution is called. For example, we create a relation, which loads 1 billion rows: import duckdb duckdb_conn = duckdb.connect() rel = duckdb_conn.sql("from range(1_000_000_000)") At the moment of execution, rel does not...ation object from the passed values view Create a relation object for the named view from_arrow Signature from_arrow(self: duckdb.duckdb.DuckDBPyConnection, arrow_object: object) -> duckdb.duckdb.DuckDBPyRelation Description Create a relation object fr...object Parameters arrow_object : pyarrow.Table, pyarrow.RecordBatch Arrow object to create a relation from Example import duckdb import pyarrow as pa ids = pa.array([1], type=pa.int8()) texts = pa.array(['a'], type=pa.string()) example_table = pa.tabl... - https://man.mtool.work/duckdb/1.3/clients/python/relational_api.html
- Vectors 7247
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ Vectors represent a horizontal slice of a column. They hold a number of values of a specific type, similar to an array. Vectors are the core data representation used in DuckDB. Vecto
...typically stored within data chunks . The vector and data chunk interfaces are the most efficient way of interacting with DuckDB, allowing for the highest performance. However, the interfaces are also difficult to use and care must be taken when using...them. Vector Format Vectors are arrays of a specific data type. The logical type of a vector can be obtained using duckdb_vector_get_column_type . The type id of the logical type can then be obtained using duckdb_get_type_id . Vectors themselve...s do not have sizes. Instead, the parent data chunk has a size (that can be obtained through duckdb_data_chunk_get_size ). All vectors that belong to a data chunk have the same size. Primitive Types For primitive types, th... - https://man.mtool.work/duckdb/1.3/clients/c/vector.html
- Table Functions 7170
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The table function API can be used to define a table function that can then be called from within DuckDB in the FROM clause of a query. API Reference Overview duckdb_table_function duckdb
...uckdb_create_table_function (); void duckdb_destroy_table_function ( duckdb_table_function * table_function ); void duckdb_table_function_set_name ( duckdb_table_func...tion table_function , const char * name ); void duckdb_table_function_add_parameter ( duckdb_table_function table_function , duckdb_logical_type type ); void duckdb_table_functi...on_add_named_parameter ( duckdb_table_function table_function , const char * name , duckdb_logical_type type ); void duckdb_table_function_set_extra_info... - https://man.mtool.work/duckdb/1.3/clients/c/table_functions.html
- Startup & Shutdown 6996
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ To use DuckDB, you must first initialize a duckdb_database handle using duckdb_open() . duckdb_open() takes as parameter the database file to read and write from. The special value N
...e that for an in-memory database no data is persisted to disk (i.e., all data is lost when you exit the process). With the duckdb_database handle, you can create one or many duckdb_connection using duckdb_connect() . While individual connections are th...ying. It is therefore recommended that each thread uses its own connection to allow for the best parallel performance. All duckdb_connection s have to explicitly be disconnected with duckdb_disconnect() and the duckdb_database has to be explicitly clos...ed with duckdb_close() to avoid memory and file handle leaking. Example duckdb_database db; duckdb_connection con; if (duckdb_open(NULL,... - https://man.mtool.work/duckdb/1.3/clients/c/connect.html
- Query 6996
- 新しいマニュアルがあります。 最新版(2.0)の同じページ へ The duckdb_query method allows SQL queries to be run in DuckDB from C. This method takes two parameters, a (null-terminated) SQL query string and a duckdb_result result pointer. The
...the application is not interested in the result set or if the query produces no result. After the result is consumed, the duckdb_destroy_result method should be used to clean up the result. Elements can be extracted from the duckdb_result object using...a variety of methods. The duckdb_column_count can be used to extract the number of columns. duckdb_column_name and duckdb_column_type can be used to extrac...t the names and types of individual columns. Example duckdb_state state; duckdb_result result; // create a table state = duckdb_query(con, "CREATE TABLE integers (i INTEGER, j INTEGE... - https://man.mtool.work/duckdb/1.3/clients/c/query.html
DuckDB 2.0 Documentation / man.mtool.work