Class AvroSchemaUtil
java.lang.Object
com.espertech.esper.common.internal.avro.core.AvroSchemaUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
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)
-