Package io.delta.kernel.internal.util
Class SchemaIterable.ParentStructFieldInfo
Object
io.delta.kernel.internal.util.SchemaIterable.ParentStructFieldInfo
- Enclosing class:
SchemaIterable
Container for parent StructField information returned by
SchemaIterable.SchemaElement.getParentStructFieldAndPath().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the nearest parent StructField.Returns the path from the nearest parent StructField.
-
Constructor Details
-
ParentStructFieldInfo
-
-
Method Details
-
getParentField
Returns the nearest parent StructField. -
getPathFromParent
Returns the path from the nearest parent StructField. If the nearest parent StructField is a direct ancestor, this is "". Otherwise, the path is of the format((key|value|element).)*(key|value|element)
-