Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValueExtractor

ValueExtractor is used to both extract values (for example, for sorting or filtering) from an object, and to provide an identity for that extraction.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Protected constructor

  • Construct a ValueExtractor.

    Parameters

    • clz: string

      server-side ValueExtractor implementation type identifier

    Returns ValueExtractor

Properties

Protected @class

@class: string

Server-side ValueExtractor implementation type identifier.

Methods

andThen

  • Returns a composed extractor that first applies this extractor to its input, and then applies the after extractor to the result. If evaluation of either extractor throws an exception, it is relayed to the caller of the composed extractor.

    Parameters

    • after: ValueExtractor

      the extractor to apply after this extractor is applied

    Returns ValueExtractor

    a composed extractor that first applies this extractor and then applies the after extractor

compose

  • Returns a composed extractor that first applies the before extractor to its input, and then applies this extractor to the result. If evaluation of either extractor throws an exception, it is relayed to the caller of the composed extractor.

    Parameters

    • before: ValueExtractor

      the extractor to apply before this extractor is applied

    Returns ValueExtractor

    a composed extractor that first applies the before extractor and then applies this extractor