public class LuceneWorkSerializerImpl extends Object implements LuceneWorkSerializer
List<LuceneWork> instances back and forth using a pluggable SerializerProvider.
This class controls the overall traversal process and delegates true serialization work to the SerializerProvider.| Constructor and Description |
|---|
LuceneWorkSerializerImpl(SerializationProvider provider,
SearchFactoryImplementor searchFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
describeSerializer() |
List<LuceneWork> |
toLuceneWorks(byte[] data)
Convert a byte[] to a List of LuceneWork (assuming the same SerializationProvider is used of course)
|
byte[] |
toSerializedModel(List<LuceneWork> works)
Convert a List of LuceneWork into a byte[]
|
public LuceneWorkSerializerImpl(SerializationProvider provider, SearchFactoryImplementor searchFactory)
public byte[] toSerializedModel(List<LuceneWork> works)
toSerializedModel in interface LuceneWorkSerializerpublic List<LuceneWork> toLuceneWorks(byte[] data)
toLuceneWorks in interface LuceneWorkSerializerpublic String describeSerializer()
describeSerializer in interface LuceneWorkSerializerCopyright © 2006–2014 Hibernate. All rights reserved.