Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Cognitive.NERV2 Class Reference

NERV2 implements NERV2 More...

Inheritance diagram for Synapse.ML.Cognitive.NERV2:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cognitive.NERV2:
Collaboration graph
[legend]

Public Member Functions

 NERV2 ()
 Creates a NERV2 without any parameters. More...
 
 NERV2 (string uid)
 Creates a NERV2 with a UID that is used to give the NERV2 a unique ID. More...
 
NERV2 SetConcurrency (int value)
 Sets value for concurrency More...
 
NERV2 SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
NERV2 SetErrorCol (string value)
 Sets value for errorCol More...
 
NERV2 SetHandler (object value)
 Sets value for handler More...
 
NERV2 SetLanguage (string[] value)
 Sets value for language More...
 
NERV2 SetLanguageCol (string value)
 Sets value for language column More...
 
NERV2 SetOutputCol (string value)
 Sets value for outputCol More...
 
NERV2 SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
NERV2 SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
NERV2 SetText (string[] value)
 Sets value for text More...
 
NERV2 SetTextCol (string value)
 Sets value for text column More...
 
NERV2 SetTimeout (double value)
 Sets value for timeout More...
 
NERV2 SetUrl (string value)
 Sets value for url More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
object GetHandler ()
 Gets handler value More...
 
string [] GetLanguage ()
 Gets language value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
string [] GetText ()
 Gets text value More...
 
double GetTimeout ()
 Gets timeout value More...
 
string GetUrl ()
 Gets url value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< NERV2Read ()
 Get the corresponding JavaMLReader instance. More...
 
NERV2 SetLocation (string value)
 Sets value for location More...
 
NERV2 SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

static NERV2 Load (string path)
 Loads the NERV2 that was previously saved using Save(string). More...
 

Detailed Description

NERV2 implements NERV2

Constructor & Destructor Documentation

◆ NERV2() [1/2]

Synapse.ML.Cognitive.NERV2.NERV2 ( )
inline

Creates a NERV2 without any parameters.

◆ NERV2() [2/2]

Synapse.ML.Cognitive.NERV2.NERV2 ( string  uid)
inline

Creates a NERV2 with a UID that is used to give the NERV2 a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetConcurrency()

int Synapse.ML.Cognitive.NERV2.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Cognitive.NERV2.GetConcurrentTimeout ( )

Gets concurrentTimeout value

Returns
concurrentTimeout: max number seconds to wait on futures if concurrency >= 1

◆ GetErrorCol()

string Synapse.ML.Cognitive.NERV2.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

object Synapse.ML.Cognitive.NERV2.GetHandler ( )

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

string [] Synapse.ML.Cognitive.NERV2.GetLanguage ( )

Gets language value

Returns
language: the language code of the text (optional for some services)

◆ GetOutputCol()

string Synapse.ML.Cognitive.NERV2.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetSubscriptionKey()

string Synapse.ML.Cognitive.NERV2.GetSubscriptionKey ( )

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

string [] Synapse.ML.Cognitive.NERV2.GetText ( )

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

double Synapse.ML.Cognitive.NERV2.GetTimeout ( )

Gets timeout value

Returns
timeout: number of seconds to wait before closing the connection

◆ GetUrl()

string Synapse.ML.Cognitive.NERV2.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static NERV2 Synapse.ML.Cognitive.NERV2.Load ( string  path)
static

Loads the NERV2 that was previously saved using Save(string).

Parameters
pathThe path the previous NERV2 was saved to
Returns
New NERV2 object, loaded from path.

◆ Read()

JavaMLReader<NERV2> Synapse.ML.Cognitive.NERV2.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<NERV2> instance for this ML instance.

◆ Save()

void Synapse.ML.Cognitive.NERV2.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetConcurrency()

NERV2 Synapse.ML.Cognitive.NERV2.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New NERV2 object

◆ SetConcurrentTimeout()

NERV2 Synapse.ML.Cognitive.NERV2.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

Parameters
valuemax number seconds to wait on futures if concurrency >= 1
Returns
New NERV2 object

◆ SetErrorCol()

NERV2 Synapse.ML.Cognitive.NERV2.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New NERV2 object

◆ SetHandler()

NERV2 Synapse.ML.Cognitive.NERV2.SetHandler ( object  value)

Sets value for handler

Parameters
valueWhich strategy to use when handling requests
Returns
New NERV2 object

◆ SetLanguage()

NERV2 Synapse.ML.Cognitive.NERV2.SetLanguage ( string []  value)

Sets value for language

Parameters
valuethe language code of the text (optional for some services)
Returns
New NERV2 object

◆ SetLanguageCol()

NERV2 Synapse.ML.Cognitive.NERV2.SetLanguageCol ( string  value)

Sets value for language column

Parameters
valuethe language code of the text (optional for some services)
Returns
New NERV2 object

◆ SetLinkedService()

NERV2 Synapse.ML.Cognitive.NERV2.SetLinkedService ( string  value)

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New NERV2 object

◆ SetLocation()

NERV2 Synapse.ML.Cognitive.NERV2.SetLocation ( string  value)

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New NERV2 object

◆ SetOutputCol()

NERV2 Synapse.ML.Cognitive.NERV2.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New NERV2 object

◆ SetSubscriptionKey()

NERV2 Synapse.ML.Cognitive.NERV2.SetSubscriptionKey ( string  value)

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New NERV2 object

◆ SetSubscriptionKeyCol()

NERV2 Synapse.ML.Cognitive.NERV2.SetSubscriptionKeyCol ( string  value)

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New NERV2 object

◆ SetText()

NERV2 Synapse.ML.Cognitive.NERV2.SetText ( string []  value)

Sets value for text

Parameters
valuethe text in the request body
Returns
New NERV2 object

◆ SetTextCol()

NERV2 Synapse.ML.Cognitive.NERV2.SetTextCol ( string  value)

Sets value for text column

Parameters
valuethe text in the request body
Returns
New NERV2 object

◆ SetTimeout()

NERV2 Synapse.ML.Cognitive.NERV2.SetTimeout ( double  value)

Sets value for timeout

Parameters
valuenumber of seconds to wait before closing the connection
Returns
New NERV2 object

◆ SetUrl()

NERV2 Synapse.ML.Cognitive.NERV2.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New NERV2 object

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