Packages

c

fs2.data.json.jsonpath

PartiallyAppliedFilter

final class PartiallyAppliedFilter[F[_]] extends AnyVal

Namespace containing the various JsonPath filtering pipes.

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartiallyAppliedFilter
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def collect[T](path: JsonPath, collector: Aux[Token, T], deterministic: Boolean = true, maxMatch: Int = Int.MaxValue, maxNest: Int = Int.MaxValue)(implicit F: Concurrent[F]): Pipe[F, Token, T]

    Selects all matching elements in the input stream, and applies the fs2.Collector to it.

    Selects all matching elements in the input stream, and applies the fs2.Collector to it.

    If deterministic is set to true (default value), elements are emitted in the order they appeat in the input stream, i.e. first opening tag first. If deterministic is set to false, built elements are emitted as soon as possible (i.e. when the value is entirely built).

    The maxMatch parameter controls how many matches are to be emitted at most. Further matches won't be emitted if any.

    The maxNest parameter controls the maximum level of match nesting to be emitted. E.g., if you want to emit only the top most matches, set it to 0.

  6. val dummy: Boolean
  7. def first(path: JsonPath)(implicit F: Concurrent[F]): Pipe[F, Token, Token]

    Selects the first match in the input stream.

    Selects the first match in the input stream. The tokens of the first matching value are emitted as they are read.

    The other matches are gently discarded.

  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def raw(path: JsonPath, maxMatch: Int = Int.MaxValue, maxNest: Int = Int.MaxValue)(implicit F: Concurrent[F]): Pipe[F, Token, Stream[F, Token]]

    Selects all macthing elements in the input stream.

    Selects all macthing elements in the input stream. Each matching element is emitted in a new stream. Matching is performed in a streaming fashion, and events are emitted as early as possible. The match streams are emitted in the same order they are encountered in the input stream, i.e. in the order of the opening tags matching the query.

    The maxMatch parameter controls how many matches are to be emitted at most. Further matches won't be emitted if any.

    The maxNest parameter controls the maximum level of match nesting to be emitted. E.g., if you want to emit only the top most matches, set it to 0.

    Warning: make sure you actually consume all the emitted streams otherwise this can lead to memory problems.

  11. def toString(): String
    Definition Classes
    Any
  12. def values[T](path: JsonPath, deterministic: Boolean = true, maxMatch: Int = Int.MaxValue, maxNest: Int = Int.MaxValue)(implicit F: Concurrent[F], builder: Builder[T]): Pipe[F, Token, T]

    Selects all matching elements in the input stream, and builds an AST.

    Selects all matching elements in the input stream, and builds an AST.

    If deterministic is set to true (default value), elements are emitted in the order they appeat in the input stream, i.e. first opening tag first. If deterministic is set to false, built elements are emitted as soon as possible (i.e. when the value is entirely built).

    The maxMatch parameter controls how many matches are to be emitted at most. Further matches won't be emitted if any.

    The maxNest parameter controls the maximum level of match nesting to be emitted. E.g., if you want to emit only the top most matches, set it to 0.

Inherited from AnyVal

Inherited from Any

Ungrouped