Class OpenSearchReindex

    • Constructor Detail

      • OpenSearchReindex

        public OpenSearchReindex()
    • Method Detail

      • userSettings

        protected org.opensearch.client.opensearch.indices.IndexSettings userSettings()
                                                                               throws IOException
        Throws:
        IOException
      • groupSettings

        protected org.opensearch.client.opensearch.indices.IndexSettings groupSettings()
                                                                                throws IOException
        Throws:
        IOException
      • anyObjectSettings

        protected org.opensearch.client.opensearch.indices.IndexSettings anyObjectSettings()
                                                                                    throws IOException
        Throws:
        IOException
      • realmSettings

        protected org.opensearch.client.opensearch.indices.IndexSettings realmSettings()
                                                                                throws IOException
        Throws:
        IOException
      • auditSettings

        protected org.opensearch.client.opensearch.indices.IndexSettings auditSettings()
                                                                                throws IOException
        Throws:
        IOException
      • userMapping

        protected org.opensearch.client.opensearch._types.mapping.TypeMapping userMapping()
                                                                                   throws IOException
        Throws:
        IOException
      • groupMapping

        protected org.opensearch.client.opensearch._types.mapping.TypeMapping groupMapping()
                                                                                    throws IOException
        Throws:
        IOException
      • anyObjectMapping

        protected org.opensearch.client.opensearch._types.mapping.TypeMapping anyObjectMapping()
                                                                                        throws IOException
        Throws:
        IOException
      • realmMapping

        protected org.opensearch.client.opensearch._types.mapping.TypeMapping realmMapping()
                                                                                    throws IOException
        Throws:
        IOException
      • auditMapping

        protected org.opensearch.client.opensearch._types.mapping.TypeMapping auditMapping()
                                                                                    throws IOException
        Throws:
        IOException
      • doExecute

        protected String doExecute​(boolean dryRun,
                                   String executor,
                                   org.quartz.JobExecutionContext context)
                            throws org.quartz.JobExecutionException
        Description copied from class: AbstractSchedTaskJobDelegate
        The actual execution, delegated to child classes.
        Specified by:
        doExecute in class AbstractSchedTaskJobDelegate<SchedTask>
        Parameters:
        dryRun - whether to actually touch the data
        executor - the user executing this task
        context - Quartz' execution context, can be used to pass parameters to the job
        Returns:
        the task execution status to be set
        Throws:
        org.quartz.JobExecutionException - if anything goes wrong