Class DateRangeQueryDescriptor<T>
Inheritance
DateRangeQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class DateRangeQueryDescriptor<T> : FieldNameQueryDescriptorBase<DateRangeQueryDescriptor<T>, IDateRangeQuery, T>, IDescriptor, IDateRangeQuery, IRangeQuery, IFieldNameQuery, IQuery where T : class
Type Parameters
Properties
|
Edit this page
View Source
Conditionless
Whether the query is conditionless. A conditionless query is not serialized as part of the request
sent to OpenSearch.
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Declaration
public DateRangeQueryDescriptor<T> Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
GreaterThan(DateMath)
Declaration
public DateRangeQueryDescriptor<T> GreaterThan(DateMath from)
Parameters
Returns
|
Edit this page
View Source
GreaterThanOrEquals(DateMath)
Declaration
public DateRangeQueryDescriptor<T> GreaterThanOrEquals(DateMath from)
Parameters
Returns
|
Edit this page
View Source
LessThan(DateMath)
Declaration
public DateRangeQueryDescriptor<T> LessThan(DateMath to)
Parameters
Returns
|
Edit this page
View Source
LessThanOrEquals(DateMath)
Declaration
public DateRangeQueryDescriptor<T> LessThanOrEquals(DateMath to)
Parameters
Returns
|
Edit this page
View Source
Relation(RangeRelation?)
Declaration
public DateRangeQueryDescriptor<T> Relation(RangeRelation? relation)
Parameters
Returns
|
Edit this page
View Source
TimeZone(string)
Declaration
public DateRangeQueryDescriptor<T> TimeZone(string timeZone)
Parameters
Type |
Name |
Description |
string |
timeZone |
|
Returns
Implements
Extension Methods