Interface SchemaIterable.MutableSchemaElement

All Superinterfaces:
SchemaIterable.SchemaElement
Enclosing class:
SchemaIterable

public static interface SchemaIterable.MutableSchemaElement extends SchemaIterable.SchemaElement
Interface for manipulating Schema elements.

This object should always be treated ephemeral and not be referenced once next() is called on the iterator.

  • Method Details

    • updateField

      void updateField(StructField structField)
      Replace the current targeted field with a new field.
    • setMetadataOnNearestStructFieldAncestor

      void setMetadataOnNearestStructFieldAncestor(FieldMetadata metadata)
      Replace the metadata on the nearest struct ancestor with new metadata.