Selector

object Selector
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

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.

Companion:
object
Companion:
class
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.

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.

Companion:
object
Companion:
class
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.

Companion:
object
Companion:
class
case object ThisSelector extends Selector

Selects the current value.

Selects the current value.

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Implicits

Implicits

implicit lazy val SelectorShow: Show[Selector]