MCPcopy Create free account

hub / github.com/SouravRoy-ETL/slothdb / functions

Functions2,343 in github.com/SouravRoy-ETL/slothdb

↓ 2 callersFunctionstringToUTF8Array
(str,heap,outIdx,maxBytesToWrite)
packaging/npm/slothdb.js:1
↓ 2 callersFunctionstring_dedup_emplace
Ingest one VARCHAR value into thread `tid`'s bounded active table.
include/slothdb/execution/string_dedup.hpp:28
↓ 2 callersMethodsum_sq
Field accessors mirror old direct access (so reads on never-used states return defaults without allocation).
src/execution/physical_planner.cpp:6037
↓ 2 callersFunctiontdefl_compress
src/storage/miniz.c:1918
↓ 2 callersFunctiontdefl_compress_block
src/storage/miniz.c:1245
↓ 2 callersFunctiontdefl_compress_mem_to_output
src/storage/miniz.c:2038
↓ 2 callersFunctiontdefl_flush_output_buffer
src/storage/miniz.c:1897
↓ 2 callersFunctiontdefl_output_buffer_putter
src/storage/miniz.c:2060
↓ 2 callersFunctiontdefl_record_literal
src/storage/miniz.c:1711
↓ 2 callersFunctionthrowInternalError
docs/playground/slothdb.js:1
↓ 2 callersFunctionthrowInternalError
packaging/npm/slothdb.js:1
↓ 2 callersFunctiontinfl_decompress_mem_to_mem
src/storage/miniz.c:2962
↓ 2 callersFunctiontrials
(exe, sql)
bench/clickbench/official_bench.py:123
↓ 2 callersFunctiontrim
(arr)
docs/playground/slothdb.js:1
↓ 2 callersFunctiontrim
(arr)
packaging/npm/slothdb.js:1
↓ 2 callersFunctionupdateMemoryViews
()
docs/playground/slothdb.js:1
↓ 2 callersFunctionupdateMemoryViews
()
packaging/npm/slothdb.js:1
↓ 2 callersFunctionusesDestructorStack
(argTypes)
docs/playground/slothdb.js:1
↓ 2 callersFunctionusesDestructorStack
(argTypes)
packaging/npm/slothdb.js:1
↓ 2 callersMethodversion
* Return the underlying SlothDB engine version string. * * @returns {string}
packaging/npm/index.mjs:101
↓ 2 callersMethodwhat
include/slothdb/common/exception.hpp:94
↓ 2 callersFunctionwriteChunks
(stream,buffer,offset,length,position)
docs/playground/slothdb.js:1
↓ 2 callersFunctionwriteChunks
(stream,buffer,offset,length,position)
packaging/npm/slothdb.js:1
↓ 1 callersMethodAdvance
src/parser/tokenizer.cpp:116
↓ 1 callersMethodAppendSlice
src/storage/column_data.cpp:21
↓ 1 callersFunctionAsHashJoin
src/execution/physical_planner.cpp:13043
↓ 1 callersMethodAttachHeap
Attach an externally-owned contiguous byte buffer. The buffer is kept alive for the Vector's lifetime. Used when another decoder (e.g. Parquet) alread
include/slothdb/common/types/vector.hpp:48
↓ 1 callersFunctionAvroTypeToLogical
Map an Avro primitive type name + optional logicalType to a SlothDB LogicalType. Logical types we recognise: - timestamp-millis / timestamp-micros → T
src/storage/avro_reader.cpp:42
↓ 1 callersFunctionBoundExprEqual
Structural equality for two bound-expression trees. Used to detect when a SELECT-list / ORDER-BY subtree matches a GROUP BY entry verbatim so we can r
src/planner/planner.cpp:167
↓ 1 callersMethodCheck
src/parser/parser.cpp:49
↓ 1 callersFunctionCheckFilterRefs
src/optimizer/optimizer.cpp:122
↓ 1 callersFunctionCoerceForCompare
Coerce `v` to match the type of `target` for cross-type comparisons. Value::operator< returns false on type mismatch, so without this step `BIGINT(200
src/storage/parquet.cpp:2974
↓ 1 callersMethodCombine
src/common/types/validity_mask.cpp:107
↓ 1 callersMethodConsumeRG
src/execution/int_group_agg.cpp:69
↓ 1 callersFunctionContainsFast4
src/execution/substring_search.cpp:42
↓ 1 callersFunctionContainsFast8
src/execution/substring_search.cpp:75
↓ 1 callersFunctionCountDictLikeContains
src/execution/substring_search.cpp:89
↓ 1 callersMethodCountDistinctGroups
src/execution/radix_count_agg.cpp:710
↓ 1 callersFunctionCountPlainLikeContains
src/execution/substring_search.cpp:121
↓ 1 callersMethodCreateFile
src/storage/block_manager.cpp:7
↓ 1 callersMethodDecodeBigintColumnHistogram
SUM fast path: walk pages of a BIGINT dict-encoded column, accumulate histogram of dict indices, and reduce SUM = sum_idx (count[idx]*dict[idx]). Skip
src/storage/parquet.cpp:2726
↓ 1 callersFunctionDecodeCell
Reverse of EncodeCell: rebuild a typed Value from the binary blob.
src/execution/count_group_agg.cpp:106
↓ 1 callersFunctionDecodeDataPage
Decode a DataPage (V1 or V2) into `out` values. Handles PLAIN and PLAIN_DICTIONARY. For flat schemas with nullable columns, def_level bit_width is 1.
src/storage/parquet.cpp:1484
↓ 1 callersFunctionDecodeDataPageTyped
Decode one data page (V1 or V2) into the typed output buffer starting at row_offset. Supports PLAIN and PLAIN_DICTIONARY / RLE_DICTIONARY. `skip_str_d
src/storage/parquet.cpp:1991
↓ 1 callersFunctionDecodePlainBoolInto
PLAIN BOOLEAN is bit-packed (1 bit per value).
src/storage/parquet.cpp:1716
↓ 1 callersFunctionDecodePlainStringInto
Append PLAIN-encoded VARCHAR data into `heap`, writing string_t entries to dst[i] for non-null rows. heap is a pre-reserved buffer (no reallocation).
src/storage/parquet.cpp:1742
↓ 1 callersFunctionDecodePlainStringIntoMasked
Mask-aware variant: skip dst[i] writes for rows where filter_mask[i]==0. The 4-byte length read still happens (PLAIN has no random access — we must ad
src/storage/parquet.cpp:1800
↓ 1 callersFunctionDecodePlainStringLengthsInto
Lengths-only PLAIN VARCHAR decode. Reads the 4-byte length prefix per row into `dst_lengths[i]`, then advances past the byte data without copying. Use
src/storage/parquet.cpp:1860
↓ 1 callersMethodDecompress
src/storage/compression/compression.cpp:582
↓ 1 callersMethodEmitFirstK
src/execution/radix_count_agg.cpp:916
↓ 1 callersMethodEmitTopKDistinctByStrKey
2-stage COUNT(DISTINCT INT) GROUP BY VARCHAR: Phase A (parallel) builds per-shard local str_count maps from the unique-pair set; Phase B reduces seque
src/execution/radix_count_agg.cpp:1297
↓ 1 callersFunctionEncodeCell
Encode one group-column cell into `key` as a length-self-describing binary blob: a 1-byte presence tag, then a fixed- or length-prefixed payload deter
src/execution/count_group_agg.cpp:32
↓ 1 callersMethodEquals
src/common/types/logical_type.cpp:8
↓ 1 callersFunctionErrorCategoryToString
src/common/exception.cpp:29
↓ 1 callersFunctionExtractAsName
Extract `as <name>` or `into <name>` after `after_pos`. Returns the raw identifier (no quoting) or empty if absent. Also accepts `named X` and `called
src/ask/nl_to_sql.cpp:362
↓ 1 callersFunctionExtractFilename
src/ask/nl_to_sql.cpp:313
↓ 1 callersFunctionExtractGroupBy
Extract the "X by|per|grouped-by Y" group column token, if any. Returns the noun token or empty.
src/ask/nl_to_sql.cpp:287
↓ 1 callersFunctionExtractIdentifiers
Rewrite bare identifiers in the SQL that fuzzily match a schema name but aren't the canonical form. Catches Qwen's common mistakes: `customer_id` -> `
src/ask/embedded_llm.cpp:370
↓ 1 callersFunctionExtractIntLiteral
Extract an integer literal from a value expression. Accepts a plain CONSTANT and a UNARY_MINUS wrapping one — the parser turns `-1` into UnaryMinus(Co
src/execution/physical_planner.cpp:153
↓ 1 callersFunctionExtractParquetPushdownFilters
Try to extract simple `column OP literal` predicates from a bound expression. Walks AND-chains and accepts =, <, <=, >, >= on a column vs. a constant.
src/execution/physical_planner.cpp:13795
↓ 1 callersFunctionExtractSQL
Strip markdown fences + trim + drop trailing semicolons from model output.
src/ask/embedded_llm.cpp:140
↓ 1 callersFunctionExtractTopN
Extract a "top N" limit from tokens. Returns 0 if absent.
src/ask/nl_to_sql.cpp:268
↓ 1 callersFunctionExtractYear
Extract a 4-digit year from tokens after "in"/"during"/"for" - very common NL pattern ("sales in 2024"). Returns empty if absent.
src/ask/nl_to_sql.cpp:234
↓ 1 callersFunctionFS_createDataFile
(...args)
docs/playground/slothdb.js:1
↓ 1 callersFunctionFS_createDataFile
(...args)
packaging/npm/slothdb.js:1
↓ 1 callersFunctionFS_handledByPreloadPlugin
(byteArray,fullname)
docs/playground/slothdb.js:1
↓ 1 callersFunctionFS_handledByPreloadPlugin
(byteArray,fullname)
packaging/npm/slothdb.js:1
↓ 1 callersFunctionFS_modeStringToFlags
docs/playground/slothdb.js:1
↓ 1 callersFunctionFS_modeStringToFlags
packaging/npm/slothdb.js:1
↓ 1 callersFunctionFS_preloadFile
(parent,name,url,canRead,canWrite,dontCreateFile,canOwn,preFinish)
docs/playground/slothdb.js:1
↓ 1 callersFunctionFS_preloadFile
(parent,name,url,canRead,canWrite,dontCreateFile,canOwn,preFinish)
packaging/npm/slothdb.js:1
↓ 1 callersFunctionFS_stdin_getChar
()
docs/playground/slothdb.js:1
↓ 1 callersFunctionFS_stdin_getChar
()
packaging/npm/slothdb.js:1
↓ 1 callersMethodFetchRun
src/storage/parquet.cpp:492
↓ 1 callersMethodFilter
src/execution/gpu/gpu_engine.cpp:41
↓ 1 callersMethodFilterEquals
src/execution/dictionary_vector.cpp:59
↓ 1 callersFunctionFindToken
Find the position of a specific keyword in a token list.
src/ask/nl_to_sql.cpp:225
↓ 1 callersFunctionFindUnknownColumns
Cross-check every identifier in the generated SQL against the schema. Returns a list of column-shaped names that don't match any table or column. Used
src/ask/embedded_llm.cpp:453
↓ 1 callersFunctionFirstNumericColumn
src/ask/nl_to_sql.cpp:163
↓ 1 callersMethodForEachVarcharCol
include/slothdb/storage/fast_csv_reader.hpp:104
↓ 1 callersFunctionFormatDate
src/common/types/value.cpp:68
↓ 1 callersFunctionFormatTime
src/common/types/value.cpp:76
↓ 1 callersFunctionFormatTimestamp
Format a TIMESTAMP value (microseconds since 1970-01-01) as "YYYY-MM-DD HH:MM:SS[.uuuuuu]". Avoids gmtime so this is reentrant and works the same on e
src/common/types/value.cpp:45
↓ 1 callersMethodFuseBuild
--- Fuse interface: used by PhysicalHashAggregate to bypass materialization. ---
src/execution/physical_planner.cpp:12688
↓ 1 callersMethodFuseBuildIsRight
src/execution/physical_planner.cpp:12690
↓ 1 callersMethodFuseIsInner
src/execution/physical_planner.cpp:12689
↓ 1 callersMethodFuseLeftColCount
src/execution/physical_planner.cpp:12701
↓ 1 callersMethodFuseProbeChild
src/execution/physical_planner.cpp:12691
↓ 1 callersMethodFuseProbeJoinCol
src/execution/physical_planner.cpp:12700
↓ 1 callersMethodFuseUseI64Hash
src/execution/physical_planner.cpp:12694
↓ 1 callersMethodFuseUseLinearCache
src/execution/physical_planner.cpp:12697
↓ 1 callersFunctionGenerateSQLLocal
src/ask/embedded_llm.cpp:858
↓ 1 callersMethodGetExtraInfo
include/slothdb/common/types/logical_type.hpp:123
↓ 1 callersMethodGetFileDelimiter
include/slothdb/catalog/table_catalog_entry.hpp:90
↓ 1 callersMethodGetFileSize
src/storage/file_handle.cpp:68
↓ 1 callersMethodGetIncrementalDelim
include/slothdb/catalog/table_catalog_entry.hpp:73
↓ 1 callersMethodGetLastSize
include/slothdb/catalog/table_catalog_entry.hpp:74
↓ 1 callersMethodGetNumericCode
include/slothdb/common/exception.hpp:98
↓ 1 callersMethodGetRows
src/execution/parallel_executor.cpp:17
↓ 1 callersMethodGetValue
src/common/types/data_chunk.cpp:23
← previousnext →501–600 of 2,343, ranked by callers