Selector

fs2.data.json.Selector$
See theSelector companion trait
object Selector

Attributes

Companion:
trait
Source:
selectors.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class IndexSelector(pred: IndexPredicate, strict: Boolean) extends Selector

Selects the value in the array for which the index respects the predicate. If the currently pointed value is not an array and strict is true, then an error is raised, otherwise the value is skipped.

Selects the value in the array for which the index respects the predicate. If the currently pointed value is not an array and strict is true, then an error is raised, otherwise the value is skipped.

Attributes

Companion:
object
Source:
selectors.scala
Graph
Supertypes
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
selectors.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class IteratorSelector(strict: Boolean) extends Selector

Selects all values in an array or object. If the currently pointed value is neither an array, nor an object and strict is true, then an error is raised, otherwise the value is skipped.

Selects all values in an array or object. If the currently pointed value is neither an array, nor an object and strict is true, then an error is raised, otherwise the value is skipped.

Attributes

Source:
selectors.scala
Graph
Supertypes
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any
case class NameSelector(pred: NamePredicate, strict: Boolean, mandatory: Boolean) extends Selector

Selects the value in the object for which the key respects the predicate. If the currently pointed value is not an object and strict is true, then an error is raised, otherwise the value is skipped. If the currently pointed value is an object and mandatory is true, then an error is raised if the object doesn't contain all the names.

Selects the value in the object for which the key respects the predicate. If the currently pointed value is not an object and strict is true, then an error is raised, otherwise the value is skipped. If the currently pointed value is an object and mandatory is true, then an error is raised if the object doesn't contain all the names.

Attributes

Companion:
object
Source:
selectors.scala
Graph
Supertypes
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
selectors.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class PipeSelector(left: Selector, right: Selector) extends Selector

Selects whatever left selects on the currently pointed value and then selects right on the result. Values selected by left are not emitted downstream, only the values selected by right are.

Selects whatever left selects on the currently pointed value and then selects right on the result. Values selected by left are not emitted downstream, only the values selected by right are.

Attributes

Companion:
object
Source:
selectors.scala
Graph
Supertypes
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
selectors.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case object ThisSelector extends Selector

Selects the current value.

Selects the current value.

Attributes

Source:
selectors.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait Selector
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Implicits

Implicits

implicit lazy val SelectorShow: Show[Selector]

Attributes

Source:
selectors.scala