Class LuceneSortExternalizer
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractExternalizer<org.apache.lucene.search.Sort>
-
- org.infinispan.query.impl.externalizers.LuceneSortExternalizer
-
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<org.apache.lucene.search.Sort>,org.infinispan.commons.marshall.Externalizer<org.apache.lucene.search.Sort>
public class LuceneSortExternalizer extends org.infinispan.commons.marshall.AbstractExternalizer<org.apache.lucene.search.Sort>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LuceneSortExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetId()Set<Class<? extends org.apache.lucene.search.Sort>>getTypeClasses()org.apache.lucene.search.SortreadObject(ObjectInput input)voidwriteObject(ObjectOutput output, org.apache.lucene.search.Sort sort)
-
-
-
Method Detail
-
readObject
public org.apache.lucene.search.Sort readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
writeObject
public void writeObject(ObjectOutput output, org.apache.lucene.search.Sort sort) throws IOException
- Throws:
IOException
-
getId
public Integer getId()
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<org.apache.lucene.search.Sort>- Overrides:
getIdin classorg.infinispan.commons.marshall.AbstractExternalizer<org.apache.lucene.search.Sort>
-
-