object ProjectionExpression extends ProjectionExpressionLowPriorityImplicits0
- Alphabetic
- By Inheritance
- ProjectionExpression
- ProjectionExpressionLowPriorityImplicits0
- ProjectionExpressionLowPriorityImplicits1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait OpticType extends AnyRef
- implicit class ProjectionExpressionSyntax[From] extends AnyRef
- abstract type Unknown
- type Untyped = ProjectionExpression[_, _]
- implicit class ProjectionExpressionSyntax0[From, To] extends AnyRef
- Definition Classes
- ProjectionExpressionLowPriorityImplicits0
- implicit class ProjectionExpressionSyntax1[From, To] extends AnyRef
- Definition Classes
- ProjectionExpressionLowPriorityImplicits1
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def $(s: String): ProjectionExpression[Any, Unknown]
Unsafe version of
parsethat throws an IllegalStateException rather than returning an Either.Unsafe version of
parsethat throws an IllegalStateException rather than returning an Either. Note all path elements are substituted automatically using theExpressionAttributeNamesfacility. The underscore "_" and hypen "-" are allowed in the name without any escaping. Any other special characters must be escaped with backticks as the first and last characters.Examples:
$("foo") // simple map element $("foo.bar[9].baz") // array element with nested access $("`foo.bar`") // simple map element with a dot in the name $("foo_bar") // simple map element $("foo-bar") // simple map element
- See also
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def accessors[A](implicit s: Schema[A]): Accessors[(builder)#Lens, (builder)#Prism, (builder)#Traversal]
- def apply(name: String): MapElement[Any, Nothing]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val builder: AccessorBuilder { ... /* 3 definitions in type refinement */ }
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse(s: String): Either[String, ProjectionExpression[Unknown, Unknown]]
Parses a string into an ProjectionExpression Note all path elements are substituted automatically using the
ExpressionAttributeNamesfacility.Parses a string into an ProjectionExpression Note all path elements are substituted automatically using the
ExpressionAttributeNamesfacility. The underscore "_" and hypen "-" are allowed in the name without any escaping. Any other special characters must be escaped with backticks as the first and last characters. egparse("foo.bar[9].baz"") // Right(MapElement(ListElement(MapElement(Root(bar),baz),9),baz)) parse(fo$$o.ba$$r[9].ba$$z) // Left("error with fo$$o,error with ba$$r[9],error with ba$$z")
- s
Projection expression as a string
- returns
either a
Rightof ProjectionExpression if successful, else a list of errors in a string
- def projectionsFromSchema[A](implicit arg0: Schema[A]): Chunk[ProjectionExpression[_, _]]
- val regexDotOutsideBackticks: Regex
- def some[A]: ProjectionExpression[Option[A], A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object OpticType