Class ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild>
Inheritance
ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild> : CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>, IDescriptor, IObjectProperty, ICoreProperty, IProperty, IFieldMapping where TDescriptor : ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild>, TInterface where TInterface : class, IObjectProperty where TParent : class where TChild : class
Type Parameters
Name |
Description |
TDescriptor |
|
TInterface |
|
TParent |
|
TChild |
|
Constructors
|
Edit this page
View Source
ObjectPropertyDescriptorBase()
Declaration
protected ObjectPropertyDescriptorBase()
|
Edit this page
View Source
ObjectPropertyDescriptorBase(FieldType)
Declaration
protected ObjectPropertyDescriptorBase(FieldType fieldType)
Parameters
Methods
|
Edit this page
View Source
AutoMap(IPropertyVisitor, int)
Declaration
public TDescriptor AutoMap(IPropertyVisitor visitor = null, int maxRecursion = 0)
Parameters
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
AutoMap(int)
Declaration
public TDescriptor AutoMap(int maxRecursion)
Parameters
Type |
Name |
Description |
int |
maxRecursion |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Dynamic(Union<bool, DynamicMapping>)
Whether or not new properties should be added dynamically to an existing object.
Default is true
Declaration
public TDescriptor Dynamic(Union<bool, DynamicMapping> dynamic)
Parameters
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Dynamic(bool)
Whether or not new properties should be added dynamically to an existing object.
Default is true
Declaration
public TDescriptor Dynamic(bool dynamic = true)
Parameters
Type |
Name |
Description |
bool |
dynamic |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Enabled(bool?)
Whether the JSON value given for this field should be parsed and indexed. Default is true
Declaration
public TDescriptor Enabled(bool? enabled = true)
Parameters
Type |
Name |
Description |
bool? |
enabled |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Properties(Func<PropertiesDescriptor<TChild>, IPromise<IProperties>>)
The fields within the object
Declaration
public TDescriptor Properties(Func<PropertiesDescriptor<TChild>, IPromise<IProperties>> selector)
Parameters
Returns
Type |
Description |
TDescriptor |
|
Implements
Extension Methods