Package io.delta.kernel.internal.util
Interface SchemaIterable.MutableSchemaElement
- All Superinterfaces:
SchemaIterable.SchemaElement
- Enclosing class:
SchemaIterable
Interface for manipulating Schema elements.
This object should always be treated ephemeral and not be referenced once next() is
called on the iterator.
-
Method Summary
Modifier and TypeMethodDescriptionvoidReplace the metadata on the nearest struct ancestor with new metadata.voidupdateField(StructField structField) Replace the current targeted field with a new field.Methods inherited from interface io.delta.kernel.internal.util.SchemaIterable.SchemaElement
getField, getNamePath, getNearestStructFieldAncestor, getParentStructFieldAndPath, getPathFromNearestStructFieldAncestor, isStructField
-
Method Details
-
updateField
Replace the current targeted field with a new field. -
setMetadataOnNearestStructFieldAncestor
Replace the metadata on the nearest struct ancestor with new metadata.
-