NodeConfigurator
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class NodeConfigurator
Represents the search network node configurator.
| Constructor | Description |
|---|---|
| NodeConfigurator() |
| Method | Description |
|---|---|
| setTcpEndpoint(String hostNameOrAddress, int port) | Sets the TCP endpoint. |
| addLogSink() | Adds a log sink to the search network node. |
| addSearcher(String storagePath) | Adds a searcher service to the search network node. |
| addIndexer(String storagePath) | Adds an indexer service to the search network node. |
| addExtractor(String storagePath) | Adds an extractor service to the search network node. |
| addShard(String storagePath) | Adds a shard service to the search network node. |
| completeNode() | Completes the configuration of the search network node. |
public NodeConfigurator()
public abstract NodeConfigurator setTcpEndpoint(String hostNameOrAddress, int port)
Sets the TCP endpoint.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| hostNameOrAddress | java.lang.String | The host name or address. |
| port | int | The port number. |
Returns: NodeConfigurator - This search network node configurator.
public abstract NodeConfigurator addLogSink()
Adds a log sink to the search network node.
Returns: NodeConfigurator - This search network node configurator.
public abstract NodeConfigurator addSearcher(String storagePath)
Adds a searcher service to the search network node.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| storagePath | java.lang.String | The storage path of the adding service. |
Returns: NodeConfigurator - This search network node configurator.
public abstract NodeConfigurator addIndexer(String storagePath)
Adds an indexer service to the search network node.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| storagePath | java.lang.String | The storage path of the adding service. |
Returns: NodeConfigurator - This search network node configurator.
public abstract NodeConfigurator addExtractor(String storagePath)
Adds an extractor service to the search network node.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| storagePath | java.lang.String | The storage path of the adding service. |
Returns: NodeConfigurator - This search network node configurator.
public abstract NodeConfigurator addShard(String storagePath)
Adds a shard service to the search network node.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| storagePath | java.lang.String | The storage path of the adding service. |
Returns: NodeConfigurator - This search network node configurator.
public abstract Configurator completeNode()
Completes the configuration of the search network node.
Returns: Configurator - The configurator.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.