Package org.flowforwarding.warp.protocol.container.avro.AvroEnum

Examples of org.flowforwarding.warp.protocol.container.avro.AvroEnum.AvroEnumBuilder


            if (schema.getType().getName().equalsIgnoreCase("fixed")) {
               builders.put(schema.getName(), new AvroFixedBuilder(schema.getName(), schema));
            } else if (schema.getType().getName().equalsIgnoreCase("record")) {
               builders.put(schema.getName(), makeRecordBuilder(schema.getName(), schema));
            } else if (schema.getType().getName().equalsIgnoreCase("enum")) {
               builders.put(schema.getName(), new AvroEnumBuilder(schema.getName(), schema));
            }
         }
        
         // TODO Improvs: Just a quick solution to get version.
         AvroItem item = new AvroItem(builders.get("ofp_header").build());
View Full Code Here

TOP

Related Classes of org.flowforwarding.warp.protocol.container.avro.AvroEnum.AvroEnumBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.