trait SimpleMutableSchemaBasedValueProcessor[Target] extends MutableSchemaBasedValueProcessor[Target, Unit]
A simpler version of MutableSchemaBasedValueProcessor without using any Context
- Alphabetic
- By Inheritance
- SimpleMutableSchemaBasedValueProcessor
- MutableSchemaBasedValueProcessor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def fail(message: String): Target
- Attributes
- protected
- abstract def processDictionary(schema: Map[_, _], value: Chunk[(Target, Target)]): Target
- Attributes
- protected
- abstract def processDynamic(value: DynamicValue): Option[Target]
- Attributes
- protected
- abstract def processEither(schema: Either[_, _], value: Either[Target, Target]): Target
- Attributes
- protected
- abstract def processEnum(schema: Enum[_], tuple: (String, Target)): Target
- Attributes
- protected
- abstract def processOption(schema: Optional[_], value: Option[Target]): Target
- Attributes
- protected
- abstract def processPrimitive(value: Any, typ: StandardType[Any]): Target
- Attributes
- protected
- abstract def processRecord(schema: Record[_], value: ListMap[String, Target]): Target
- Attributes
- protected
- abstract def processSequence(schema: Sequence[_, _, _], value: Chunk[Target]): Target
- Attributes
- protected
- abstract def processSet(schema: Set[_], value: Set[Target]): Target
- Attributes
- protected
- abstract def processTuple(schema: Tuple2[_, _], left: Target, right: Target): Target
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contextForEither(context: Unit, e: Either[Unit, Unit]): Unit
Gets the context for an either's left or right value within the parent context
Gets the context for an either's left or right value within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForEnumConstructor(context: Unit, index: Int, c: Case[_, _]): Unit
Gets the context for an enum's given constructor within the parent context
Gets the context for an enum's given constructor within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForMap(context: Unit, schema: Map[_, _], index: Int): Unit
Gets the context for a dictionary's given element within the parent context
Gets the context for a dictionary's given element within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForOption(context: Unit, o: Option[Unit]): Unit
Gets the context for an option's inner value within the parent context
Gets the context for an option's inner value within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForRecordField(context: Unit, index: Int, field: Field[_, _]): Unit
Gets the context for a record's given field within the parent context
Gets the context for a record's given field within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForSequence(context: Unit, schema: Sequence[_, _, _], index: Int): Unit
Gets the context for a sequence's given element within the parent context
Gets the context for a sequence's given element within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForSet(context: Unit, schema: Set[_], index: Int): Unit
Gets the context for a set's given element within the parent context
Gets the context for a set's given element within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def contextForTuple(context: Unit, index: Int): Unit
Gets the context for a tuple's given field within the parent context
Gets the context for a tuple's given field within the parent context
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail(context: Unit, message: String): Target
Fails the processing
Fails the processing
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- 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()
- val initialContext: Unit
The initial (top-level) context value
The initial (top-level) context value
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- 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 process[A](schema: Schema[A], value: A): Target
Process a value based on it's schema
Process a value based on it's schema
- Definition Classes
- MutableSchemaBasedValueProcessor
- def processDictionary(context: Unit, schema: Map[_, _], value: Chunk[(Target, Target)]): Target
* Process a dictionary using its already processed key-value pairs
* Process a dictionary using its already processed key-value pairs
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processDynamic(context: Unit, value: DynamicValue): Option[Target]
Process a dynamic value.
Process a dynamic value. If the result is None it indicates that the processor has no built-in support for dynamic values, and the Dynamic value's schema should be used instead.
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processEither(context: Unit, schema: Either[_, _], value: Either[Target, Target]): Target
Process an either value using its already processed left or right value
Process an either value using its already processed left or right value
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processEnum(context: Unit, schema: Enum[_], tuple: (String, Target)): Target
Process an enum in the given context with the given schema using the processed constructor value and it's name
Process an enum in the given context with the given schema using the processed constructor value and it's name
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processOption(context: Unit, schema: Optional[_], value: Option[Target]): Target
Process an optional value using its already processed inner value, or None
Process an optional value using its already processed inner value, or None
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processPrimitive(context: Unit, value: Any, typ: StandardType[Any]): Target
Process a primitive value
Process a primitive value
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processRecord(context: Unit, schema: Record[_], value: ListMap[String, Target]): Target
Process a record in the given context with the given schema, using the already processed values of its fields.
Process a record in the given context with the given schema, using the already processed values of its fields.
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processSequence(context: Unit, schema: Sequence[_, _, _], value: Chunk[Target]): Target
Process a sequence using its already processed elements
Process a sequence using its already processed elements
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processSet(context: Unit, schema: Set[_], value: Set[Target]): Target
Process a set using its already processed elements
Process a set using its already processed elements
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def processTuple(context: Unit, schema: Tuple2[_, _], left: Target, right: Target): Target
Process a tuple using its already processed left and right values
Process a tuple using its already processed left and right values
- Attributes
- protected
- Definition Classes
- SimpleMutableSchemaBasedValueProcessor → MutableSchemaBasedValueProcessor
- def startProcessingDictionary(context: Unit, schema: Map[_, _], size: Int): Unit
Called before processing a dictionary
Called before processing a dictionary
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingEither(context: Unit, schema: Either[_, _]): Unit
Called before processing and either value
Called before processing and either value
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingEnum(context: Unit, schema: Enum[_]): Unit
Called before processing an enum
Called before processing an enum
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingOption(context: Unit, schema: Optional[_]): Unit
Called before processing an option value
Called before processing an option value
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingRecord(context: Unit, schema: Record[_]): Unit
Called before processing a record (before calling processXYZ for the record's fields)
Called before processing a record (before calling processXYZ for the record's fields)
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingSequence(context: Unit, schema: Sequence[_, _, _], size: Int): Unit
Called before processing a sequence
Called before processing a sequence
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingSet(context: Unit, schema: Set[_], size: Int): Unit
Called before processing a set
Called before processing a set
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- def startProcessingTuple(context: Unit, schema: Tuple2[_, _]): Unit
Called before processing a pair of values
Called before processing a pair of values
- Attributes
- protected
- Definition Classes
- MutableSchemaBasedValueProcessor
- Annotations
- @nowarn()
- 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()