public abstract class SolrTopology extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
COLLECTION |
Constructor and Description |
---|
SolrTopology() |
Modifier and Type | Method and Description |
---|---|
protected Config |
getConfig() |
protected static org.apache.solr.client.solrj.SolrClient |
getSolrClient() |
protected SolrCommitStrategy |
getSolrCommitStgy() |
protected static SolrConfig |
getSolrConfig() |
protected abstract StormTopology |
getTopology() |
void |
run(String[] args) |
protected void |
submitTopologyLocalCluster(StormTopology topology,
Config config) |
protected void |
submitTopologyRemoteCluster(String arg,
StormTopology topology,
Config config) |
protected static String COLLECTION
protected abstract StormTopology getTopology() throws IOException
IOException
protected void submitTopologyRemoteCluster(String arg, StormTopology topology, Config config) throws Exception
Exception
protected void submitTopologyLocalCluster(StormTopology topology, Config config) throws InterruptedException
InterruptedException
protected Config getConfig()
protected SolrCommitStrategy getSolrCommitStgy()
protected static SolrConfig getSolrConfig()
protected static org.apache.solr.client.solrj.SolrClient getSolrClient()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.