Synapseml
0.10.0
|
AddDocuments implements AddDocuments More...
Public Member Functions | |
AddDocuments () | |
Creates a AddDocuments without any parameters. More... | |
AddDocuments (string uid) | |
Creates a AddDocuments with a UID that is used to give the AddDocuments a unique ID. More... | |
AddDocuments | SetActionCol (string value) |
Sets value for actionCol More... | |
AddDocuments | SetBatchSize (int value) |
Sets value for batchSize More... | |
AddDocuments | SetConcurrency (int value) |
Sets value for concurrency More... | |
AddDocuments | SetConcurrentTimeout (double value) |
Sets value for concurrentTimeout More... | |
AddDocuments | SetErrorCol (string value) |
Sets value for errorCol More... | |
AddDocuments | SetHandler (object value) |
Sets value for handler More... | |
AddDocuments | SetIndexName (string value) |
Sets value for indexName More... | |
AddDocuments | SetOutputCol (string value) |
Sets value for outputCol More... | |
AddDocuments | SetServiceName (string value) |
Sets value for serviceName More... | |
AddDocuments | SetSubscriptionKey (string value) |
Sets value for subscriptionKey More... | |
AddDocuments | SetSubscriptionKeyCol (string value) |
Sets value for subscriptionKey column More... | |
AddDocuments | SetTimeout (double value) |
Sets value for timeout More... | |
AddDocuments | SetUrl (string value) |
Sets value for url More... | |
string | GetActionCol () |
Gets actionCol value More... | |
int | GetBatchSize () |
Gets batchSize value 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 | GetIndexName () |
Gets indexName value More... | |
string | GetOutputCol () |
Gets outputCol value More... | |
string | GetServiceName () |
Gets serviceName value More... | |
string | GetSubscriptionKey () |
Gets subscriptionKey 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 () |
| |
JavaMLReader< AddDocuments > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static AddDocuments | Load (string path) |
Loads the AddDocuments that was previously saved using Save(string). More... | |
AddDocuments implements AddDocuments
|
inline |
Creates a AddDocuments without any parameters.
|
inline |
Creates a AddDocuments with a UID that is used to give the AddDocuments a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
string Synapse.ML.Cognitive.AddDocuments.GetActionCol | ( | ) |
Gets actionCol value
int Synapse.ML.Cognitive.AddDocuments.GetBatchSize | ( | ) |
Gets batchSize value
int Synapse.ML.Cognitive.AddDocuments.GetConcurrency | ( | ) |
Gets concurrency value
double Synapse.ML.Cognitive.AddDocuments.GetConcurrentTimeout | ( | ) |
Gets concurrentTimeout value
string Synapse.ML.Cognitive.AddDocuments.GetErrorCol | ( | ) |
Gets errorCol value
object Synapse.ML.Cognitive.AddDocuments.GetHandler | ( | ) |
Gets handler value
string Synapse.ML.Cognitive.AddDocuments.GetIndexName | ( | ) |
Gets indexName value
string Synapse.ML.Cognitive.AddDocuments.GetOutputCol | ( | ) |
Gets outputCol value
string Synapse.ML.Cognitive.AddDocuments.GetServiceName | ( | ) |
Gets serviceName value
string Synapse.ML.Cognitive.AddDocuments.GetSubscriptionKey | ( | ) |
Gets subscriptionKey value
double Synapse.ML.Cognitive.AddDocuments.GetTimeout | ( | ) |
Gets timeout value
string Synapse.ML.Cognitive.AddDocuments.GetUrl | ( | ) |
Gets url value
|
static |
Loads the AddDocuments that was previously saved using Save(string).
path | The path the previous AddDocuments was saved to |
JavaMLReader<AddDocuments> Synapse.ML.Cognitive.AddDocuments.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Cognitive.AddDocuments.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.
path | The path to save the object to |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetActionCol | ( | string | value | ) |
Sets value for actionCol
value | You can combine actions, such as an upload and a delete, in the same batch. upload: An upload action is similar to an 'upsert' where the document will be inserted if it is new and updated/replaced if it exists. Note that all fields are replaced in the update case. merge: Merge updates an existing document with the specified fields. If the document doesn't exist, the merge will fail. Any field you specify in a merge will replace the existing field in the document. This includes fields of type Collection(Edm.String). For example, if the document contains a field 'tags' with value ['budget'] and you execute a merge with value ['economy', 'pool'] for 'tags', the final value of the 'tags' field will be ['economy', 'pool']. It will not be ['budget', 'economy', 'pool']. mergeOrUpload: This action behaves like merge if a document with the given key already exists in the index. If the document does not exist, it behaves like upload with a new document. delete: Delete removes the specified document from the index. Note that any field you specify in a delete operation, other than the key field, will be ignored. If you want to remove an individual field from a document, use merge instead and simply set the field explicitly to null. |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetBatchSize | ( | int | value | ) |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetConcurrency | ( | int | value | ) |
Sets value for concurrency
value | max number of concurrent calls |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetConcurrentTimeout | ( | double | value | ) |
Sets value for concurrentTimeout
value | max number seconds to wait on futures if concurrency >= 1 |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetErrorCol | ( | string | value | ) |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetHandler | ( | object | value | ) |
Sets value for handler
value | Which strategy to use when handling requests |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetIndexName | ( | string | value | ) |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetOutputCol | ( | string | value | ) |
Sets value for outputCol
value | The name of the output column |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetServiceName | ( | string | value | ) |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetSubscriptionKey | ( | string | value | ) |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetSubscriptionKeyCol | ( | string | value | ) |
Sets value for subscriptionKey column
value | the API key to use |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetTimeout | ( | double | value | ) |
Sets value for timeout
value | number of seconds to wait before closing the connection |
AddDocuments Synapse.ML.Cognitive.AddDocuments.SetUrl | ( | string | value | ) |