object EvaluationContext extends LazyLogging
- Alphabetic
- By Inheritance
- EvaluationContext
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
ContextDependent[T <: ContextDependent[T]] extends AnyRef
Marker trait for resources that are dependent on the evaluation context state
Marker trait for resources that are dependent on the evaluation context state
- T
type
-
trait
ContextListener extends AnyRef
Listener callback trait
-
case class
EvaluationError(field: String, line: Long, e: Throwable) extends Product with Serializable
Evaluation error
Evaluation error
- field
field name that had an error
- line
line number of the input being evaluated
- e
error
-
sealed
trait
FieldAccessor extends AnyRef
Trait for reading a field from an evaluation context
- class FieldValueAccessor extends FieldAccessor
- class GlobalFieldAccessor extends FieldAccessor
-
implicit final
class
RichEvaluationContext extends AnyVal
Evaluation context accessors
-
case class
StatListener(delegate: Stats, listener: ContextListener) extends Stats with Product with Serializable
Stats implementation that adds a listener.
Stats implementation that adds a listener.
Note that this implementation can chain additional listeners, but it's not very efficient doing so. The typical usage of listeners is reporting out counts, so usually there will only be one.
- delegate
delegate stats
- listener
listener
-
class
StatefulEvaluationContext extends EvaluationContext
Evaluation context implementation
-
trait
Stats extends AnyRef
Tracks success and failures in the conversion process
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
- val FilterKey: String
- val InputFilePathKey: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
empty: EvaluationContext
Creates a new, empty evaluation context
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
inputFileParam(file: String): Map[String, AnyRef]
Gets a global parameter map containing the input file path
Gets a global parameter map containing the input file path
- file
input file path
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object NullFieldAccessor extends FieldAccessor with Product with Serializable
- object Stats
Deprecated Value Members
-
def
apply(fields: Seq[Field], globalValues: Map[String, _ <: AnyRef], caches: Map[String, EnrichmentCache], metrics: ConverterMetrics, success: Counter, failure: Counter): EvaluationContext
Creates a new evaluation context with the given state
Creates a new evaluation context with the given state
- fields
converter fields, in topological dependency order
- globalValues
global values
- caches
enrichment caches
- metrics
metrics
- success
success counter
- failure
failure counter
- Annotations
- @deprecated
- Deprecated
EvaluationContext should be accessed through a converter
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated