Share via


FilterSegment Class

Definition

A segment representing $filter in a path.

public sealed class FilterSegment : Microsoft.OData.UriParser.ODataPathSegment
type FilterSegment = class
    inherit ODataPathSegment
Public NotInheritable Class FilterSegment
Inherits ODataPathSegment
Inheritance
FilterSegment

Constructors

FilterSegment(SingleValueNode, RangeVariable, IEdmNavigationSource)

Build a segment representing $filter.

Properties

EdmType

Gets the IEdmType to which this FilterSegment applies.

Expression

Gets the filter expression - this should evaluate to a single boolean value.

Identifier

Returns the identifier for this segment i.e. string part without the keys.

(Inherited from ODataPathSegment)
ItemType

Gets the type of item returned by this clause.

LiteralText

Gets the string representing "$filter(expression)".

RangeVariable

Gets the parameter for the expression which represents a single value from the collection.

Methods

HandleWith(PathSegmentHandler)

Handle a FilterSegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a FilterSegment using an instance of PathSegmentTranslator<T>.

Applies to