MCPcopy Create free account
hub / github.com/bytedance/bolt / compare

Method compare

bolt/exec/ContainerRowSerde.cpp:1183–1192  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

1181
1182// static
1183int32_t ContainerRowSerde::compare(
1184 ByteInputStream& left,
1185 const DecodedVector& right,
1186 vector_size_t index,
1187 CompareFlags flags) {
1188 BOLT_DCHECK(
1189 !right.isNullAt(index), "Null top-level values are not supported");
1190 BOLT_DCHECK(flags.nullAsValue(), "not supported null handling mode");
1191 return compareSwitch(left, *right.base(), right.index(index), flags).value();
1192}
1193
1194// static
1195int32_t ContainerRowSerde::compare(

Callers 2

VARCHAR>Method · 0.45
VARBINARY>Method · 0.45

Calls 6

nullAsValueMethod · 0.80
compareSwitchFunction · 0.70
isNullAtMethod · 0.45
valueMethod · 0.45
baseMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected