Package 

Interface IndexWriter

  • All Implemented Interfaces:
    ai.platon.pulsar.common.config.Parameterized , ai.platon.pulsar.crawl.common.JobInitialized , java.lang.AutoCloseable

    
    public interface IndexWriter
     implements Parameterized, JobInitialized, AutoCloseable
                        

    Created by vincent on 16-8-1.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class IndexWriter.Companion
    • Method Summary

      Modifier and Type Method Description
      abstract Unit open(ImmutableConfig conf)
      abstract Unit open(String indexerUrl)
      abstract Unit write(IndexDocument doc)
      abstract Unit delete(String key)
      abstract Unit update(IndexDocument doc)
      abstract Unit commit()
      abstract Unit close()
      abstract String describe() Returns a String describing the IndexWriter instance and the specific parameters it can take
      String getName()
      Boolean getIsActive()
      • Methods inherited from class ai.platon.pulsar.crawl.index.IndexWriter

        getParams, setup
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait