MCPcopy Create free account
hub / github.com/apache/impala / LayoutEquals

Method LayoutEquals

be/src/runtime/descriptors.cc:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool SlotDescriptor::LayoutEquals(const SlotDescriptor& other_desc) const {
165 if (type() != other_desc.type()) return false;
166 if (is_nullable() != other_desc.is_nullable()) return false;
167 if (slot_size() != other_desc.slot_size()) return false;
168 if (tuple_offset() != other_desc.tuple_offset()) return false;
169 if (!null_indicator_offset().Equals(other_desc.null_indicator_offset())) return false;
170 return true;
171}
172
173inline bool SlotDescriptor::IsChildOfStruct() const {
174 return parent_->isTupleOfStructSlot();

Callers 3

GetNextPassThroughMethod · 0.45
LayoutIsPrefixOfMethod · 0.45
AcquireStateMethod · 0.45

Calls 9

slot_sizeMethod · 0.80
tuple_offsetMethod · 0.80
SlotsOrderedByIdxMethod · 0.80
typeEnum · 0.50
typeMethod · 0.45
is_nullableMethod · 0.45
EqualsMethod · 0.45
byte_sizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected