org.hibernate.search.indexes.serialization.avro.impl
Class AvroSerializationProvider

java.lang.Object
  extended by org.hibernate.search.indexes.serialization.avro.impl.AvroSerializationProvider
All Implemented Interfaces:
SerializationProvider

public class AvroSerializationProvider
extends Object
implements SerializationProvider

parsing code inspired by http://www.infoq.com/articles/ApacheAvro from Boris Lublinsky

Author:
Emmanuel Bernard

Field Summary
static byte MAJOR_VERSION
           
static byte MINOR_VERSION
           
 
Constructor Summary
AvroSerializationProvider()
           
 
Method Summary
 Deserializer getDeserializer()
           
static int getMajorVersion()
           
static int getMinorVersion()
           
 Serializer getSerializer()
           
 String inlineSchemas(String protocolSkeleton)
           
 org.apache.avro.Protocol parseProtocol(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAJOR_VERSION

public static byte MAJOR_VERSION

MINOR_VERSION

public static byte MINOR_VERSION
Constructor Detail

AvroSerializationProvider

public AvroSerializationProvider()
Method Detail

getMajorVersion

public static int getMajorVersion()

getMinorVersion

public static int getMinorVersion()

getSerializer

public Serializer getSerializer()
Specified by:
getSerializer in interface SerializationProvider

getDeserializer

public Deserializer getDeserializer()
Specified by:
getDeserializer in interface SerializationProvider

parseProtocol

public org.apache.avro.Protocol parseProtocol(String name)

inlineSchemas

public String inlineSchemas(String protocolSkeleton)


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved