Results of 1 - 10 of about 13 for child (0.004 sec.)
- Vectors 12140
- 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. Vectors are typically stored within data chunks . The vector an
...the entire column – and so only needs to be constructed once. Structs Structs are nested types that contain any number of child types. Think of them like a struct in C. The way to access struct data using vectors is to access the child vectors recurs...ively using the duckdb_struct_vector_get_child method. The struct vector itself does not have any data (i.e., you should not use duckdb_vector_get_data method on the str...uct). However , the struct vector itself does have a validity mask. The reason for this is that the child elements of a struct can be NULL , but the struct itself can also be NULL . Lists Lists are nested types that contain a si... - https://man.mtool.work/duckdb/2.0/clients/c/vector.html
- Execution Format 11085
- Vector is the container format used to store in-memory data during execution. DataChunk is a collection of Vectors, used for instance to represent a column list in a PhysicalProjection operator. Data Flow DuckDB uses a vectorized query exec
...the storage when decompressing from constant compression. Dictionary Vectors Dictionary vectors are physically stored as a child vector, and a selection vector that contains indexes into the child vector. Dictionary vectors are emitted by the storage...al and don't need to chase any pointers). List Vectors List vectors are stored as a series of list entries together with a child Vector. The child vector contains the values that are present in the list, and the list entries specify how each individua...l list is constructed. struct list_entry_t { idx_t offset; idx_t length; }; The offset refers to the start row in the child Vector, the length keeps track of the size of the list of this row. List vectors can be stored recursively. For nested lis... - https://man.mtool.work/duckdb/2.0/internals/vector.html
- Types 10997
- 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. Duc
...pe ); char * duckdb_enum_dictionary_value ( duckdb_logical_type type , idx_t index ); duckdb_logical_type duckdb_list_type_child_type ( duckdb_logical_type type ); duckdb_logical_type duckdb_array_type_child_type ( duckdb_logical_type type ); idx_t du...logical_type type ); duckdb_logical_type duckdb_map_type_value_type ( duckdb_logical_type type ); idx_t duckdb_struct_type_child_count ( duckdb_logical_type type ); char * duckdb_struct_type_child_name ( duckdb_logical_type type , idx_t index ); duckd...b_logical_type duckdb_struct_type_child_type ( duckdb_logical_type type , idx_t index ); idx_t duckdb_union_type_member_count ( duckdb_logical_type type ); char *... - https://man.mtool.work/duckdb/2.0/clients/c/types.html
- Complete API 10856
- 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 develope
...duckdb_value duckdb_create_null_value (); idx_t duckdb_get_list_size ( duckdb_value value ); duckdb_value duckdb_get_list_child ( duckdb_value value , idx_t index ); duckdb_value duckdb_create_enum_value ( duckdb_logical_type type , uint64_t value );...uint64_t duckdb_get_enum_value ( duckdb_value value ); duckdb_value duckdb_get_struct_child ( duckdb_value value , idx_t index ); char * duckdb_value_to_string ( duckdb_value value ); Logical Type Interface duckdb_...pe ); char * duckdb_enum_dictionary_value ( duckdb_logical_type type , idx_t index ); duckdb_logical_type duckdb_list_type_child_type ( duckdb_logical_type type ); duckdb_logical_type duckdb_array_type_child_type ( duckdb_logical_type type ); idx_t du... - https://man.mtool.work/duckdb/2.0/clients/c/api.html
- Values 9149
- 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 * text ); duckdb_value duckdb_create_varchar_length ( const ch
...duckdb_value duckdb_create_null_value (); idx_t duckdb_get_list_size ( duckdb_value value ); duckdb_value duckdb_get_list_child ( duckdb_value value , idx_t index ); duckdb_value duckdb_create_enum_value ( duckdb_logical_type type , uint64_t value );...uint64_t duckdb_get_enum_value ( duckdb_value value ); duckdb_value duckdb_get_struct_child ( duckdb_value value , idx_t index ); char * duckdb_value_to_string ( duckdb_value value ); duckdb_destroy_value Destroys...type : The type of the struct values : The values for the struct fields Return Value The struct value, or nullptr, if any child type is DUCKDB_TYPE_ANY or DUCKDB_TYPE_INVALID . duckdb_create_list_value Creates a list value from a child (element) type... - https://man.mtool.work/duckdb/2.0/clients/c/value.html
- Profile and Monitor 8428
- Overview The Go client can observe query execution: it can retrieve per-operator profiling metrics after a query runs, and register a log storage that receives DuckDB's log messages. Both are described below. Profiling Profiling information
...duckdb.ProfilingInfo , a tree that mirrors DuckDB's query plan. Each node has a Metrics map of metric name to value and a Children slice of child nodes. Metrics are grouped and named in lowercase: the root's children are the root plan operator, whose...timing , followed by one node per metric group, e.g., the query group with total_time . Walk the tree to read them: for _, child := range info.Children { if opType, ok := child.Metrics["type"]; ok { log.Printf("operator: %s, timing: %s", opType, child... - https://man.mtool.work/duckdb/2.0/clients/go/profiling.html
- Types API 7636
- The DuckDBPyType class, duckdb.sqltypes.DuckDBPyType , represents one of the data types . Use DuckDBPyType to describe SQL types when declaring function parameters, return types or casts. Python types such as int are accepted too: int descr
...te("CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy')") print(con.type("mood")) ENUM('sad', 'ok', 'happy') Nested Types list[child_type] list type objects map to a LIST type of the child type, which can itself be nested. import duckdb.sqltypes print(duc...r Type Names . Inspecting Types A DuckDBPyType has an id , such as 'struct' . A nested type, an ENUM or a DECIMAL also has children , a list of pairs of a name and a type or a value. The field of a STRUCT type is also available by attribute or by key:...point = duckdb.struct_type({"x": INTEGER, "y": VARCHAR}) print(point.id) print(point.children) print(point.x, point["y"]) struct [('x', INTEGER), ('y', VARCHAR)] INTEGER VARCHAR... - https://man.mtool.work/duckdb/2.0/clients/python/types.html
- TRY Expression 7566
- The TRY expression ensures that errors caused by the input rows in the child (scalar) expression result in NULL for those rows, instead of causing the query to throw an error. The TRY expression was inspired by the TRY_CAST expression . Exa
... - https://man.mtool.work/duckdb/2.0/sql/expressions/try.html
- Struct Functions 7354
- The functions on this page work on STRUCT values . Functions that access entries by position, such as struct[idx] , struct_extract_at , struct_contains , struct_position and struct_values , also accept TUPLE values , i.e., structs with unna
...RUCT , give its mapping value as ROW(source_field, {inner_mapping}) , and nest its defaults the same way. A LIST 's single child is addressed by the mapping key 'list' , and a MAP 's children by the keys 'key' and 'value' . row(any, ...) | Description... - https://man.mtool.work/duckdb/2.0/sql/functions/struct.html
- R-Tree Indexes 7319
- The spatial extension provides support for spatial indexing through the R-tree extension index type. Why Should I Use an R-Tree Index? When working with geospatial datasets, it is very common that you want to filter rows based on their spat
...geometry (and the internal ID of the corresponding row) in the leaf nodes, and the bounding rectangle enclosing all of the child nodes in each internal node. The minimum bounding rectangle (MBR) of a geometry is the smallest rectangle that completely... - https://man.mtool.work/duckdb/2.0/core_extensions/spatial/r-tree_indexes.html
DuckDB 2.0 Documentation / man.mtool.work