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

JSONOutputParser implements JSONOutputParser More...

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

Public Member Functions

 JSONOutputParser ()
 Creates a JSONOutputParser without any parameters. More...
 
 JSONOutputParser (string uid)
 Creates a JSONOutputParser with a UID that is used to give the JSONOutputParser a unique ID. More...
 
JSONOutputParser SetDataType (DataType value)
 Sets value for dataType More...
 
JSONOutputParser SetInputCol (string value)
 Sets value for inputCol More...
 
JSONOutputParser SetOutputCol (string value)
 Sets value for outputCol More...
 
JSONOutputParser SetPostProcessor (JavaTransformer value)
 Sets value for postProcessor More...
 
DataType GetDataType ()
 Gets dataType value More...
 
string GetInputCol ()
 Gets inputCol value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
JavaTransformer GetPostProcessor ()
 Gets postProcessor 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< JSONOutputParserRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

JSONOutputParser implements JSONOutputParser

Constructor & Destructor Documentation

◆ JSONOutputParser() [1/2]

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

Creates a JSONOutputParser without any parameters.

◆ JSONOutputParser() [2/2]

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

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

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

Member Function Documentation

◆ GetDataType()

DataType Synapse.ML.Io.Http.JSONOutputParser.GetDataType ( )
inline

Gets dataType value

Returns
dataType: format to parse the column to

◆ GetInputCol()

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

Gets inputCol value

Returns
inputCol: The name of the input column

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetPostProcessor()

JavaTransformer Synapse.ML.Io.Http.JSONOutputParser.GetPostProcessor ( )
inline

Gets postProcessor value

Returns
postProcessor: optional transformation to postprocess json output

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

◆ SetDataType()

JSONOutputParser Synapse.ML.Io.Http.JSONOutputParser.SetDataType ( DataType  value)

Sets value for dataType

Parameters
valueformat to parse the column to
Returns
New JSONOutputParser object

◆ SetInputCol()

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

Sets value for inputCol

Parameters
valueThe name of the input column
Returns
New JSONOutputParser object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New JSONOutputParser object

◆ SetPostProcessor()

JSONOutputParser Synapse.ML.Io.Http.JSONOutputParser.SetPostProcessor ( JavaTransformer  value)

Sets value for postProcessor

Parameters
valueoptional transformation to postprocess json output
Returns
New JSONOutputParser object

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