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,
ExtendedSearchIntegrator searchIntegrator) |
| 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, ExtendedSearchIntegrator searchIntegrator)
public byte[] toSerializedModel(List<LuceneWork> works)
toSerializedModel in interface LuceneWorkSerializerworks - the list of LuceneWorkLuceneWork as byte[]public List<LuceneWork> toLuceneWorks(byte[] data)
toLuceneWorks in interface LuceneWorkSerializerdata - the byte array to convertLuceneWorkpublic String describeSerializer()
describeSerializer in interface LuceneWorkSerializerCopyright © 2006–2015 Hibernate. All rights reserved.