pyre.records.Evaluator

Module Contents

class pyre.records.Evaluator.Evaluator

A strategy for pulling data from a stream, and performing evaluations and coercions as indicated by the field descriptors

__call__(self, record, source, **kwds)

Pull values from {source}, perform the calculation encoded in the derivation expression graphs, walk values through coercions, and make the results available to the caller

onDescriptor(self, source, cache, descriptor)

Handler for measures

onOperator(self, source, cache, operator)

Handler for operators

onLiteral(self, source, cache, literal)

Handler for descriptors that encapsulate foreign values