Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Io.Http.JSONInputParser Class Reference

JSONInputParser implements JSONInputParser More...

Inheritance diagram for Synapse.ML.Io.Http.JSONInputParser:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Io.Http.JSONInputParser:
Collaboration graph
[legend]

Public Member Functions

 JSONInputParser ()
 Creates a JSONInputParser without any parameters. More...
 
 JSONInputParser (string uid)
 Creates a JSONInputParser with a UID that is used to give the JSONInputParser a unique ID. More...
 
JSONInputParser SetHeaders (Dictionary< string, string > value)
 Sets value for headers More...
 
JSONInputParser SetInputCol (string value)
 Sets value for inputCol More...
 
JSONInputParser SetMethod (string value)
 Sets value for method More...
 
JSONInputParser SetOutputCol (string value)
 Sets value for outputCol More...
 
JSONInputParser SetUrl (string value)
 Sets value for url More...
 
Dictionary< string, string > GetHeaders ()
 Gets headers value More...
 
string GetInputCol ()
 Gets inputCol value More...
 
string GetMethod ()
 Gets method value More...
 
string GetOutputCol ()
 Gets outputCol 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< JSONInputParserRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

JSONInputParser implements JSONInputParser

Constructor & Destructor Documentation

◆ JSONInputParser() [1/2]

Synapse.ML.Io.Http.JSONInputParser.JSONInputParser ( )
inline

Creates a JSONInputParser without any parameters.

◆ JSONInputParser() [2/2]

Synapse.ML.Io.Http.JSONInputParser.JSONInputParser ( string  uid)
inline

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

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

Member Function Documentation

◆ GetHeaders()

Dictionary<string, string> Synapse.ML.Io.Http.JSONInputParser.GetHeaders ( )
inline

Gets headers value

Returns
headers: headers of the request

◆ GetInputCol()

string Synapse.ML.Io.Http.JSONInputParser.GetInputCol ( )

Gets inputCol value

Returns
inputCol: The name of the input column

◆ GetMethod()

string Synapse.ML.Io.Http.JSONInputParser.GetMethod ( )

Gets method value

Returns
method: method to use for request, (PUT, POST, PATCH)

◆ GetOutputCol()

string Synapse.ML.Io.Http.JSONInputParser.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetUrl()

string Synapse.ML.Io.Http.JSONInputParser.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static JSONInputParser Synapse.ML.Io.Http.JSONInputParser.Load ( string  path)
static

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

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

◆ Read()

JavaMLReader<JSONInputParser> Synapse.ML.Io.Http.JSONInputParser.Read ( )

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Io.Http.JSONInputParser.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

◆ SetHeaders()

JSONInputParser Synapse.ML.Io.Http.JSONInputParser.SetHeaders ( Dictionary< string, string >  value)

Sets value for headers

Parameters
valueheaders of the request
Returns
New JSONInputParser object

◆ SetInputCol()

JSONInputParser Synapse.ML.Io.Http.JSONInputParser.SetInputCol ( string  value)

Sets value for inputCol

Parameters
valueThe name of the input column
Returns
New JSONInputParser object

◆ SetMethod()

JSONInputParser Synapse.ML.Io.Http.JSONInputParser.SetMethod ( string  value)

Sets value for method

Parameters
valuemethod to use for request, (PUT, POST, PATCH)
Returns
New JSONInputParser object

◆ SetOutputCol()

JSONInputParser Synapse.ML.Io.Http.JSONInputParser.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New JSONInputParser object

◆ SetUrl()

JSONInputParser Synapse.ML.Io.Http.JSONInputParser.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New JSONInputParser object

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