Interface Indexer


  • public interface Indexer
    • Method Detail

      • supportsPath

        boolean supportsPath​(org.uberfire.java.nio.file.Path path)
        Different Indexers can handle different file-types
        Parameters:
        path -
        Returns:
      • toKObject

        KObject toKObject​(org.uberfire.java.nio.file.Path path)
        Index file represented by Path into an index object
        Parameters:
        path -
        Returns:
      • toKObjectKey

        KObjectKey toKObjectKey​(org.uberfire.java.nio.file.Path path)
        Index file represented by Path into an index key object
        Parameters:
        path -
        Returns:
      • getIndexerId

        default String getIndexerId()
        Returns:
        An unique identifier for this indexer. Must not be null.