Class LuceneSortFieldExternalizer
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractExternalizer<org.apache.lucene.search.SortField>
-
- org.infinispan.query.impl.externalizers.LuceneSortFieldExternalizer
-
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<org.apache.lucene.search.SortField>,org.infinispan.commons.marshall.Externalizer<org.apache.lucene.search.SortField>
public class LuceneSortFieldExternalizer extends org.infinispan.commons.marshall.AbstractExternalizer<org.apache.lucene.search.SortField>WARNING: this Externalizer implementation drops some state associated to the SortField instance. A CUSTOM Sort Type is unsupported, and it is also not possible to use a custom Field Parser or options related to missing value sorting.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LuceneSortFieldExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetId()Set<Class<? extends org.apache.lucene.search.SortField>>getTypeClasses()org.apache.lucene.search.SortFieldreadObject(ObjectInput input)voidwriteObject(ObjectOutput output, org.apache.lucene.search.SortField sortField)
-
-
-
Method Detail
-
readObject
public org.apache.lucene.search.SortField readObject(ObjectInput input) throws IOException
- Throws:
IOException
-
writeObject
public void writeObject(ObjectOutput output, org.apache.lucene.search.SortField sortField) throws IOException
- Throws:
IOException
-
getId
public Integer getId()
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<org.apache.lucene.search.SortField>- Overrides:
getIdin classorg.infinispan.commons.marshall.AbstractExternalizer<org.apache.lucene.search.SortField>
-
-