Class BulkCreateDescriptor<T>
Inheritance
BulkCreateDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class BulkCreateDescriptor<T> : BulkOperationDescriptorBase<BulkCreateDescriptor<T>, IBulkCreateOperation<T>>, IDescriptor, IBulkCreateOperation<T>, IBulkOperation where T : class
Type Parameters
Properties
|
Edit this page
View Source
BulkOperationClrType
Declaration
protected override Type BulkOperationClrType { get; }
Property Value
Overrides
|
Edit this page
View Source
BulkOperationType
Declaration
protected override string BulkOperationType { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Document(T)
The object to update, if id is not manually set it will be inferred from the object
Declaration
public BulkCreateDescriptor<T> Document(T @object)
Parameters
Type |
Name |
Description |
T |
object |
|
Returns
|
Edit this page
View Source
GetBulkOperationBody()
Declaration
protected override object GetBulkOperationBody()
Returns
Overrides
|
Edit this page
View Source
GetIdForOperation(Inferrer)
Declaration
protected override Id GetIdForOperation(Inferrer inferrer)
Parameters
Returns
Overrides
|
Edit this page
View Source
GetRoutingForOperation(Inferrer)
Declaration
protected override Routing GetRoutingForOperation(Inferrer inferrer)
Parameters
Returns
Overrides
|
Edit this page
View Source
Pipeline(string)
The pipeline id to preprocess documents with
Declaration
public BulkCreateDescriptor<T> Pipeline(string pipeline)
Parameters
Type |
Name |
Description |
string |
pipeline |
|
Returns
Implements
Extension Methods