Class GCSPipesIterator

  • All Implemented Interfaces:
    Iterable<org.apache.tika.pipes.FetchEmitTuple>, Callable<Integer>, org.apache.tika.config.Initializable

    public class GCSPipesIterator
    extends org.apache.tika.pipes.pipesiterator.PipesIterator
    implements org.apache.tika.config.Initializable
    • Field Summary

      • Fields inherited from class org.apache.tika.pipes.pipesiterator.PipesIterator

        COMPLETED_SEMAPHORE, DEFAULT_MAX_WAIT_MS, DEFAULT_QUEUE_SIZE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkInitialization​(org.apache.tika.config.InitializableProblemHandler problemHandler)  
      protected void enqueue()  
      void initialize​(Map<String,​org.apache.tika.config.Param> params)
      This initializes the gcs client.
      void setBucket​(String bucket)  
      void setPrefix​(String prefix)  
      void setProjectId​(String projectId)  
      • Methods inherited from class org.apache.tika.pipes.pipesiterator.PipesIterator

        build, call, getEmitterName, getFetcherName, getHandlerConfig, getOnParseException, iterator, setEmitterName, setFetcherName, setHandlerType, setMaxEmbeddedResources, setMaxWaitMs, setOnParseException, setOnParseException, setParseMode, setParseMode, setQueueSize, setThrowOnWriteLimitReached, setWriteLimit, tryToAdd
      • Methods inherited from class org.apache.tika.config.ConfigBase

        buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
    • Constructor Detail

      • GCSPipesIterator

        public GCSPipesIterator()
    • Method Detail

      • setBucket

        @Field
        public void setBucket​(String bucket)
      • setPrefix

        @Field
        public void setPrefix​(String prefix)
      • setProjectId

        @Field
        public void setProjectId​(String projectId)
      • initialize

        public void initialize​(Map<String,​org.apache.tika.config.Param> params)
                        throws org.apache.tika.exception.TikaConfigException
        This initializes the gcs client.
        Specified by:
        initialize in interface org.apache.tika.config.Initializable
        Overrides:
        initialize in class org.apache.tika.pipes.pipesiterator.PipesIterator
        Parameters:
        params - params to use for initialization
        Throws:
        org.apache.tika.exception.TikaConfigException
      • checkInitialization

        public void checkInitialization​(org.apache.tika.config.InitializableProblemHandler problemHandler)
                                 throws org.apache.tika.exception.TikaConfigException
        Specified by:
        checkInitialization in interface org.apache.tika.config.Initializable
        Overrides:
        checkInitialization in class org.apache.tika.pipes.pipesiterator.PipesIterator
        Throws:
        org.apache.tika.exception.TikaConfigException