Interface IcebergDataInstructions.Factory

All Known Implementing Classes:
IcebergS3Instructions.Factory
Enclosing interface:
IcebergDataInstructions

public static interface IcebergDataInstructions.Factory
The factory interface for injecting implementations using ServiceLoader.
  • Method Summary

    Modifier and Type
    Method
    Description
    createFrom(@NotNull Object instructions)
    Create an implementation instance based on the opaque instructions object, or return null if this factory does not support it.
    @NotNull Class<? extends IcebergDataInstructions>
    Get the concrete implementation class to inject into Jackson's serialization apis.
  • Method Details

    • getImplementationType

      @NotNull @NotNull Class<? extends IcebergDataInstructions> getImplementationType()
      Get the concrete implementation class to inject into Jackson's serialization apis.
      Returns:
      the concrete implementation class.
    • createFrom

      @Nullable @Nullable IcebergDataInstructions createFrom(@NotNull @NotNull Object instructions)
      Create an implementation instance based on the opaque instructions object, or return null if this factory does not support it.
      Parameters:
      instructions - the opaque instructions object.
      Returns:
      an instance, or null if the parameter is unsupported.