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

SimpleHTTPTransformer implements SimpleHTTPTransformer More...

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

Public Member Functions

 SimpleHTTPTransformer ()
 Creates a SimpleHTTPTransformer without any parameters. More...
 
 SimpleHTTPTransformer (string uid)
 Creates a SimpleHTTPTransformer with a UID that is used to give the SimpleHTTPTransformer a unique ID. More...
 
SimpleHTTPTransformer SetConcurrency (int value)
 Sets value for concurrency More...
 
SimpleHTTPTransformer SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
SimpleHTTPTransformer SetErrorCol (string value)
 Sets value for errorCol More...
 
SimpleHTTPTransformer SetFlattenOutputBatches (bool value)
 Sets value for flattenOutputBatches More...
 
SimpleHTTPTransformer SetHandler (object value)
 Sets value for handler More...
 
SimpleHTTPTransformer SetInputCol (string value)
 Sets value for inputCol More...
 
SimpleHTTPTransformer SetInputParser (JavaTransformer value)
 Sets value for inputParser More...
 
SimpleHTTPTransformer SetMiniBatcher (JavaTransformer value)
 Sets value for miniBatcher More...
 
SimpleHTTPTransformer SetOutputCol (string value)
 Sets value for outputCol More...
 
SimpleHTTPTransformer SetOutputParser (JavaTransformer value)
 Sets value for outputParser More...
 
SimpleHTTPTransformer SetTimeout (double value)
 Sets value for timeout More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
bool GetFlattenOutputBatches ()
 Gets flattenOutputBatches value More...
 
object GetHandler ()
 Gets handler value More...
 
string GetInputCol ()
 Gets inputCol value More...
 
JavaTransformer GetInputParser ()
 Gets inputParser value More...
 
JavaTransformer GetMiniBatcher ()
 Gets miniBatcher value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
JavaTransformer GetOutputParser ()
 Gets outputParser value More...
 
double GetTimeout ()
 Gets timeout 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< SimpleHTTPTransformerRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

SimpleHTTPTransformer implements SimpleHTTPTransformer

Constructor & Destructor Documentation

◆ SimpleHTTPTransformer() [1/2]

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

Creates a SimpleHTTPTransformer without any parameters.

◆ SimpleHTTPTransformer() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

int Synapse.ML.Io.Http.SimpleHTTPTransformer.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Io.Http.SimpleHTTPTransformer.GetConcurrentTimeout ( )

Gets concurrentTimeout value

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

◆ GetErrorCol()

string Synapse.ML.Io.Http.SimpleHTTPTransformer.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetFlattenOutputBatches()

bool Synapse.ML.Io.Http.SimpleHTTPTransformer.GetFlattenOutputBatches ( )

Gets flattenOutputBatches value

Returns
flattenOutputBatches: whether to flatten the output batches

◆ GetHandler()

object Synapse.ML.Io.Http.SimpleHTTPTransformer.GetHandler ( )

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetInputCol()

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

Gets inputCol value

Returns
inputCol: The name of the input column

◆ GetInputParser()

JavaTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.GetInputParser ( )
inline

Gets inputParser value

Returns
inputParser: format to parse the column to

◆ GetMiniBatcher()

JavaTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.GetMiniBatcher ( )
inline

Gets miniBatcher value

Returns
miniBatcher: Minibatcher to use

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetOutputParser()

JavaTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.GetOutputParser ( )
inline

Gets outputParser value

Returns
outputParser: format to parse the column to

◆ GetTimeout()

double Synapse.ML.Io.Http.SimpleHTTPTransformer.GetTimeout ( )

Gets timeout value

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

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Io.Http.SimpleHTTPTransformer.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()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New SimpleHTTPTransformer object

◆ SetConcurrentTimeout()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

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

◆ SetErrorCol()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New SimpleHTTPTransformer object

◆ SetFlattenOutputBatches()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetFlattenOutputBatches ( bool  value)

Sets value for flattenOutputBatches

Parameters
valuewhether to flatten the output batches
Returns
New SimpleHTTPTransformer object

◆ SetHandler()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetHandler ( object  value)

Sets value for handler

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

◆ SetInputCol()

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

Sets value for inputCol

Parameters
valueThe name of the input column
Returns
New SimpleHTTPTransformer object

◆ SetInputParser()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetInputParser ( JavaTransformer  value)

Sets value for inputParser

Parameters
valueformat to parse the column to
Returns
New SimpleHTTPTransformer object

◆ SetMiniBatcher()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetMiniBatcher ( JavaTransformer  value)

Sets value for miniBatcher

Parameters
valueMinibatcher to use
Returns
New SimpleHTTPTransformer object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New SimpleHTTPTransformer object

◆ SetOutputParser()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetOutputParser ( JavaTransformer  value)

Sets value for outputParser

Parameters
valueformat to parse the column to
Returns
New SimpleHTTPTransformer object

◆ SetTimeout()

SimpleHTTPTransformer Synapse.ML.Io.Http.SimpleHTTPTransformer.SetTimeout ( double  value)

Sets value for timeout

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

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