Class AvroSchemaUtil

java.lang.Object
com.espertech.esper.common.internal.avro.core.AvroSchemaUtil

public class AvroSchemaUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    assembleField(String propertyName, Object propertyType, org.apache.avro.SchemaBuilder.FieldAssembler<org.apache.avro.Schema> assembler, Annotation[] annotations, com.espertech.esper.common.client.configuration.common.ConfigurationCommonEventTypeMeta.AvroSettings avroSettings, com.espertech.esper.common.internal.event.core.EventTypeNameResolver eventTypeNameResolver, String statementName, com.espertech.esper.common.client.hook.type.TypeRepresentationMapper optionalMapper)
     
    static org.apache.avro.Schema
    findUnionRecordSchemaSingle(org.apache.avro.Schema schema)
     
    static org.apache.avro.Schema
    resolveAvroSchema(com.espertech.esper.common.client.EventType eventType)
    NOTE: Code-generation-invoked method, method name and parameter order matters

    Methods inherited from class java.lang.Object

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

    • AvroSchemaUtil

      public AvroSchemaUtil()
  • Method Details

    • resolveAvroSchema

      public static org.apache.avro.Schema resolveAvroSchema(com.espertech.esper.common.client.EventType eventType)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      eventType - event type
      Returns:
      schema
    • findUnionRecordSchemaSingle

      public static org.apache.avro.Schema findUnionRecordSchemaSingle(org.apache.avro.Schema schema)
    • assembleField

      public static void assembleField(String propertyName, Object propertyType, org.apache.avro.SchemaBuilder.FieldAssembler<org.apache.avro.Schema> assembler, Annotation[] annotations, com.espertech.esper.common.client.configuration.common.ConfigurationCommonEventTypeMeta.AvroSettings avroSettings, com.espertech.esper.common.internal.event.core.EventTypeNameResolver eventTypeNameResolver, String statementName, com.espertech.esper.common.client.hook.type.TypeRepresentationMapper optionalMapper)