Class BulkOperationDescriptorBase<TDescriptor, TInterface>
Inheritance
BulkOperationDescriptorBase<TDescriptor, TInterface>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class BulkOperationDescriptorBase<TDescriptor, TInterface> : DescriptorBase<TDescriptor, TInterface>, IDescriptor, IBulkOperation where TDescriptor : BulkOperationDescriptorBase<TDescriptor, TInterface>, TInterface, IBulkOperation where TInterface : class, IBulkOperation
Type Parameters
Name |
Description |
TDescriptor |
|
TInterface |
|
Properties
|
Edit this page
View Source
BulkOperationClrType
Declaration
protected abstract Type BulkOperationClrType { get; }
Property Value
|
Edit this page
View Source
BulkOperationType
Declaration
protected abstract string BulkOperationType { get; }
Property Value
Methods
|
Edit this page
View Source
GetBulkOperationBody()
Declaration
protected abstract object GetBulkOperationBody()
Returns
|
Edit this page
View Source
GetIdForOperation(Inferrer)
Declaration
protected virtual Id GetIdForOperation(Inferrer inferrer)
Parameters
Returns
|
Edit this page
View Source
GetRoutingForOperation(Inferrer)
Declaration
protected virtual Routing GetRoutingForOperation(Inferrer inferrer)
Parameters
Returns
|
Edit this page
View Source
Id(Id)
Manually set the id for the newly created object
Declaration
public TDescriptor Id(Id id)
Parameters
Type |
Name |
Description |
Id |
id |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Index(IndexName)
Manually set the index, default to the default index or the fixed index set on the bulk operation
Declaration
public TDescriptor Index(IndexName index)
Parameters
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Index<T>()
Declaration
public TDescriptor Index<T>()
Returns
Type |
Description |
TDescriptor |
|
Type Parameters
|
Edit this page
View Source
Routing(Routing)
Declaration
public TDescriptor Routing(Routing routing)
Parameters
Type |
Name |
Description |
Routing |
routing |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Version(long?)
Declaration
public TDescriptor Version(long? version)
Parameters
Type |
Name |
Description |
long? |
version |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
VersionType(VersionType?)
Declaration
public TDescriptor VersionType(VersionType? versionType)
Parameters
Returns
Type |
Description |
TDescriptor |
|
Implements
Extension Methods