NodeConfigurator
Inheritance: java.lang.Object
public abstract class NodeConfigurator
Represents the search network node configurator.
Constructors
| Constructor | Description |
|---|---|
| NodeConfigurator() |
Methods
| 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. |
NodeConfigurator()
public NodeConfigurator()
setTcpEndpoint(String hostNameOrAddress, int port)
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.
addLogSink()
public abstract NodeConfigurator addLogSink()
Adds a log sink to the search network node.
Returns: NodeConfigurator - This search network node configurator.
addSearcher(String storagePath)
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.
addIndexer(String storagePath)
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.
addExtractor(String storagePath)
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.
addShard(String storagePath)
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.
completeNode()
public abstract Configurator completeNode()
Completes the configuration of the search network node.
Returns: Configurator - The configurator.