Interface FormatReaderFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FormatReaderFactory
Factory for creating FormatReader instances. This functional interface allows data source plugins to provide format reader implementations without exposing implementation details.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Settings settings, BlockFactory blockFactory)
    Creates a new format reader instance.
  • Method Details

    • create

      FormatReader create(Settings settings, BlockFactory blockFactory)
      Creates a new format reader instance.
      Parameters:
      settings - Elasticsearch settings for configuration
      blockFactory - factory for creating data blocks
      Returns:
      a new format reader instance