Package cz.o2.proxima.scheme.avro
Class AvroSerializerFactory
- java.lang.Object
-
- cz.o2.proxima.scheme.avro.AvroSerializerFactory
-
- All Implemented Interfaces:
ValueSerializerFactory,java.io.Serializable
@AutoService(ValueSerializerFactory.class) public class AvroSerializerFactory extends java.lang.Object implements ValueSerializerFactory
Avro serializer factory for manipulate with SpecificRecords- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvroSerializerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAcceptableScheme()Retrieve scheme that of URI that this parser accepts.<T> ValueSerializer<T>getValueSerializer(java.net.URI specifier)GetValueSerializerfor given scheme.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.core.scheme.ValueSerializerFactory
canProvideTransactionSerializer, createTransactionSerializerSchemeProvider, getClassName
-
-
-
-
Method Detail
-
getAcceptableScheme
public java.lang.String getAcceptableScheme()
Description copied from interface:ValueSerializerFactoryRetrieve scheme that of URI that this parser accepts.- Specified by:
getAcceptableSchemein interfaceValueSerializerFactory- Returns:
- name of acceptable scheme of this factory
-
getValueSerializer
public <T> ValueSerializer<T> getValueSerializer(java.net.URI specifier)
Description copied from interface:ValueSerializerFactoryGetValueSerializerfor given scheme.- Specified by:
getValueSerializerin interfaceValueSerializerFactory- Type Parameters:
T- type of deserialized data- Parameters:
specifier- URI specifier of this data type- Returns:
ValueSerializerfor the scheme
-
-