Class SelectExprProcessorEvalAvroMapToAvro

java.lang.Object
com.espertech.esper.common.internal.avro.selectexprrep.SelectExprProcessorEvalAvroMapToAvro
All Implemented Interfaces:
com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator, com.espertech.esper.common.internal.epl.expression.core.ExprForge, com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable

public class SelectExprProcessorEvalAvroMapToAvro extends Object implements com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator, com.espertech.esper.common.internal.epl.expression.core.ExprForge, com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable
  • Field Summary

    Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator

    EPTYPE, EPTYPEARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectExprProcessorEvalAvroMapToAvro(com.espertech.esper.common.internal.epl.expression.core.ExprForge forge, org.apache.avro.Schema schema, String columnName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    evaluate(com.espertech.esper.common.client.EventBean[] eventsPerStream, boolean isNewData, com.espertech.esper.common.internal.epl.expression.core.ExprEvaluatorContext context)
     
    com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
    evaluateCodegen(com.espertech.esper.common.client.type.EPTypeClass requiredType, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.epl.expression.codegen.ExprForgeCodegenSymbol exprSymbol, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope)
     
    com.espertech.esper.common.client.type.EPTypeClass
     
    com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
     
    com.espertech.esper.common.internal.epl.expression.core.ExprForgeConstantType
     
    com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable
     
    static Object
    selectExprProcessAvroMap(Map<String,Object> map, org.apache.avro.Schema inner)
    NOTE: Code-generation-invoked method, method name and parameter order matters
    void
    toEPL(StringWriter writer, com.espertech.esper.common.internal.epl.expression.core.ExprPrecedenceEnum parentPrecedence, com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderableFlags flags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SelectExprProcessorEvalAvroMapToAvro

      public SelectExprProcessorEvalAvroMapToAvro(com.espertech.esper.common.internal.epl.expression.core.ExprForge forge, org.apache.avro.Schema schema, String columnName)
  • Method Details

    • evaluate

      public Object evaluate(com.espertech.esper.common.client.EventBean[] eventsPerStream, boolean isNewData, com.espertech.esper.common.internal.epl.expression.core.ExprEvaluatorContext context)
      Specified by:
      evaluate in interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
    • evaluateCodegen

      public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression evaluateCodegen(com.espertech.esper.common.client.type.EPTypeClass requiredType, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.epl.expression.codegen.ExprForgeCodegenSymbol exprSymbol, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope)
      Specified by:
      evaluateCodegen in interface com.espertech.esper.common.internal.epl.expression.core.ExprForge
    • selectExprProcessAvroMap

      public static Object selectExprProcessAvroMap(Map<String,Object> map, org.apache.avro.Schema inner)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      map - map
      inner - inner
      Returns:
      record
    • getExprEvaluator

      public com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator getExprEvaluator()
      Specified by:
      getExprEvaluator in interface com.espertech.esper.common.internal.epl.expression.core.ExprForge
    • getEvaluationType

      public com.espertech.esper.common.client.type.EPTypeClass getEvaluationType()
      Specified by:
      getEvaluationType in interface com.espertech.esper.common.internal.epl.expression.core.ExprForge
    • getForgeConstantType

      public com.espertech.esper.common.internal.epl.expression.core.ExprForgeConstantType getForgeConstantType()
      Specified by:
      getForgeConstantType in interface com.espertech.esper.common.internal.epl.expression.core.ExprForge
    • getForgeRenderable

      public com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable getForgeRenderable()
      Specified by:
      getForgeRenderable in interface com.espertech.esper.common.internal.epl.expression.core.ExprForge
    • toEPL

      public void toEPL(StringWriter writer, com.espertech.esper.common.internal.epl.expression.core.ExprPrecedenceEnum parentPrecedence, com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderableFlags flags)
      Specified by:
      toEPL in interface com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable