Member predicate StructType::getFieldAtDepth
Gets the field f
with depth depth
of this type.
This includes fields promoted from an embedded field. It is not possible
to access a field that is shadowed by a promoted field with this function.
The number of embedded fields traversed to reach f
is called its depth.
The depth of a field f
declared in this type is zero.
Field getFieldAtDepth(string name, int depth)