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)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved