C# Class Couchbase.Search.Queries.Range.DateRangeQuery

The date range query finds documents containing a date value in the specified field within the specified range.
Inheritance: FtsQueryBase
Afficher le fichier Open project: couchbase/couchbase-net-client Class Usage Examples

Méthodes publiques

Méthode Description
End ( System.DateTime endTime, bool inclusive = false ) : DateRangeQuery

The end date of the range

Export ( ) : Newtonsoft.Json.Linq.JObject
Field ( string field ) : DateRangeQuery

If a field is specified, only terms in that field will be matched. This can also affect the used analyzer if one isn't specified explicitly.

Parser ( string name ) : DateRangeQuery

The name of the parser to use.

Start ( System.DateTime startTime, bool inclusive = true ) : DateRangeQuery

The start date of the range.

Method Details

End() public méthode

The end date of the range
public End ( System.DateTime endTime, bool inclusive = false ) : DateRangeQuery
endTime System.DateTime The end time.
inclusive bool if set to true [inclusive].
Résultat DateRangeQuery

Export() public méthode

public Export ( ) : Newtonsoft.Json.Linq.JObject
Résultat Newtonsoft.Json.Linq.JObject

Field() public méthode

If a field is specified, only terms in that field will be matched. This can also affect the used analyzer if one isn't specified explicitly.
public Field ( string field ) : DateRangeQuery
field string The field.
Résultat DateRangeQuery

Parser() public méthode

The name of the parser to use.
public Parser ( string name ) : DateRangeQuery
name string The name.
Résultat DateRangeQuery

Start() public méthode

The start date of the range.
public Start ( System.DateTime startTime, bool inclusive = true ) : DateRangeQuery
startTime System.DateTime The start time.
inclusive bool if set to true [inclusive].
Résultat DateRangeQuery