Class AbstractSolrClientCommand

java.lang.Object
org.codice.ddf.commands.catalog.CommandSupport
org.codice.ddf.commands.catalog.SubjectCommands
ddf.catalog.solr.offlinegazetteer.AbstractSolrClientCommand
All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
Direct Known Subclasses:
BuildGazetteerSuggesterIndexCommand, RemoveAllOfflineSolrGazetteerCommand, SyncCatalogCommand

public abstract class AbstractSolrClientCommand extends org.codice.ddf.commands.catalog.SubjectCommands
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.codice.solr.factory.SolrClientFactory
     
    protected boolean
     

    Fields inherited from class org.codice.ddf.commands.catalog.SubjectCommands

    security, session, user

    Fields inherited from class org.codice.ddf.commands.catalog.CommandSupport

    console, ERROR_COLOR, MS_PER_SECOND
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
     

    Methods inherited from class org.codice.ddf.commands.catalog.SubjectCommands

    execute

    Methods inherited from class org.codice.ddf.commands.catalog.CommandSupport

    calculateRecordsPerSecond, printColor, printErrorMessage, printHeaderMessage, printProgressAndFlush, printSuccessMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • clientFactory

      protected org.codice.solr.factory.SolrClientFactory clientFactory
    • force

      protected boolean force
  • Constructor Details

    • AbstractSolrClientCommand

      public AbstractSolrClientCommand()
  • Method Details

    • executeWithSubject

      protected Object executeWithSubject() throws Exception
      Specified by:
      executeWithSubject in class org.codice.ddf.commands.catalog.SubjectCommands
      Throws:
      Exception