Kinetica C# API  Version 6.2.0.1
kinetica.Utils.WorkerList Class Reference

A list of worker URLs to use for multi-head ingest. More...

Inherits List< System.Uri >.

Public Member Functions

 WorkerList ()
 Creates an empty WorkerList that can be populated manually with worker URLs to support multi-head ingest.Note that worker URLs must be added in rank order, starting with rank 1, and all worker ranks must be included; otherwise insertion may fail for certain data types. More...
 
 WorkerList (Kinetica db, Regex ip_regex=null)
 Creates a WorkerList object and automatically populates it with the worker URLs from GPUdb to support multi-head ingest. More...
 

Detailed Description

A list of worker URLs to use for multi-head ingest.

Definition at line 11 of file WorkerList.cs.

Constructor & Destructor Documentation

◆ WorkerList() [1/2]

kinetica.Utils.WorkerList.WorkerList ( )
inline

Creates an empty WorkerList that can be populated manually with worker URLs to support multi-head ingest.Note that worker URLs must be added in rank order, starting with rank 1, and all worker ranks must be included; otherwise insertion may fail for certain data types.

Definition at line 20 of file WorkerList.cs.

◆ WorkerList() [2/2]

kinetica.Utils.WorkerList.WorkerList ( Kinetica  db,
Regex  ip_regex = null 
)
inline

Creates a WorkerList object and automatically populates it with the worker URLs from GPUdb to support multi-head ingest.

( If the specified GPUdb instance has multi-head ingest disabled, the worker list will be empty and multi-head ingest will not be used.) Note that in some cases, workers may be configured to use more than one IP address, not all of which may be accessible to the client; this constructor uses the first IP returned by the server for each worker.

Parameters
dbThe Kinetica instance from which to obtain the worker URLs.
ip_regexOptional IP regex to match.

Definition at line 35 of file WorkerList.cs.


The documentation for this class was generated from the following file: