Package org.hibernate.search.indexes.serialization.codex.spi

Examples of org.hibernate.search.indexes.serialization.codex.spi.Deserializer


  /**
   * Convert a byte[] to a List of LuceneWork (assuming the same SerializationProvider is used of course)
   */
  @Override
  public List<LuceneWork> toLuceneWorks(byte[] data) {
    Deserializer deserializer = provider.getDeserializer();
    LuceneWorkHydrator hydrator = new LuceneWorkHydrator( searchFactory );
    deserializer.deserialize( data, hydrator );
    return hydrator.getLuceneWorks();
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.indexes.serialization.codex.spi.Deserializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.