Class SupportAvroUtil
java.lang.Object
com.espertech.esper.common.internal.avro.support.SupportAvroUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
avroToJson
(com.espertech.esper.common.client.EventBean theEvent) static <D> String
avroToJson
(org.apache.avro.Schema schema, org.apache.avro.generic.GenericData.Record datum) static String
compareSchemas
(org.apache.avro.Schema schemaOne, org.apache.avro.Schema schemaTwo) static org.apache.avro.Schema
getAvroSchema
(com.espertech.esper.common.client.EventBean event) static org.apache.avro.Schema
getAvroSchema
(com.espertech.esper.common.client.EventType eventType) static AvroEventType
makeAvroSupportEventType
(org.apache.avro.Schema schema) static org.apache.avro.generic.GenericData.Record
static org.apache.avro.generic.GenericData.Record
parseQuoted
(org.apache.avro.Schema schema, String json)
-
Constructor Details
-
SupportAvroUtil
public SupportAvroUtil()
-
-
Method Details
-
avroToJson
-
avroToJson
public static <D> String avroToJson(org.apache.avro.Schema schema, org.apache.avro.generic.GenericData.Record datum) -
parseQuoted
public static org.apache.avro.generic.GenericData.Record parseQuoted(org.apache.avro.Schema schema, String json) -
parse
public static org.apache.avro.generic.GenericData.Record parse(org.apache.avro.Schema schema, String json) -
compareSchemas
public static String compareSchemas(org.apache.avro.Schema schemaOne, org.apache.avro.Schema schemaTwo) -
makeAvroSupportEventType
-
getAvroSchema
public static org.apache.avro.Schema getAvroSchema(com.espertech.esper.common.client.EventBean event) -
getAvroSchema
public static org.apache.avro.Schema getAvroSchema(com.espertech.esper.common.client.EventType eventType)
-