Class UriPartsProcessorDescriptor<T>
Inheritance
UriPartsProcessorDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class UriPartsProcessorDescriptor<T> : ProcessorDescriptorBase<UriPartsProcessorDescriptor<T>, IUriPartsProcessor>, IDescriptor, IUriPartsProcessor, IProcessor where T : class
Type Parameters
Properties
|
Edit this page
View Source
Name
Declaration
protected override string Name { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Field(Field)
Declaration
public UriPartsProcessorDescriptor<T> Field(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
Field<TValue>(Expression<Func<T, TValue>>)
Declaration
public UriPartsProcessorDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> objectPath)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
KeepOriginal(bool?)
If true
the processor copies the unparsed URI to <target_field>.original
.
Declaration
public UriPartsProcessorDescriptor<T> KeepOriginal(bool? keepOriginal = true)
Parameters
Type |
Name |
Description |
bool? |
keepOriginal |
|
Returns
|
Edit this page
View Source
RemoveIfSuccessful(bool?)
If true
the processor removes the Field after parsing the URI string.
If parsing fails, the processor does not remove the Field.
Declaration
public UriPartsProcessorDescriptor<T> RemoveIfSuccessful(bool? removeIfSuccessful = true)
Parameters
Type |
Name |
Description |
bool? |
removeIfSuccessful |
|
Returns
|
Edit this page
View Source
TargetField(Field)
The field to assign the converted value to, by default Field is updated in-place
Declaration
public UriPartsProcessorDescriptor<T> TargetField(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
TargetField<TValue>(Expression<Func<T, TValue>>)
The field to assign the converted value to, by default Field is updated in-place
Declaration
public UriPartsProcessorDescriptor<T> TargetField<TValue>(Expression<Func<T, TValue>> objectPath)
Parameters
Returns
Type Parameters
Implements
Extension Methods