Class FilterResultExternalizer

java.lang.Object
org.infinispan.commons.marshall.AbstractExternalizer<org.infinispan.query.remote.client.FilterResult>
org.infinispan.query.remote.impl.filter.FilterResultExternalizer
All Implemented Interfaces:
Serializable, org.infinispan.commons.marshall.AdvancedExternalizer<org.infinispan.query.remote.client.FilterResult>, org.infinispan.commons.marshall.Externalizer<org.infinispan.query.remote.client.FilterResult>

public final class FilterResultExternalizer extends org.infinispan.commons.marshall.AbstractExternalizer<org.infinispan.query.remote.client.FilterResult>
A 'remote' FilterResult needs jboss-marshalling serializability between nodes when running with object storage. It will only be marshalled using protobuf before passing it to the remote client.
Since:
9.0
Author:
anistor@redhat.com
See Also:
  • Constructor Details

    • FilterResultExternalizer

      public FilterResultExternalizer()
  • Method Details

    • writeObject

      public void writeObject(ObjectOutput output, org.infinispan.query.remote.client.FilterResult filterResult) throws IOException
      Throws:
      IOException
    • readObject

      public org.infinispan.query.remote.client.FilterResult readObject(ObjectInput input) throws IOException, ClassNotFoundException
      Throws:
      IOException
      ClassNotFoundException
    • getId

      public Integer getId()
      Specified by:
      getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<org.infinispan.query.remote.client.FilterResult>
      Overrides:
      getId in class org.infinispan.commons.marshall.AbstractExternalizer<org.infinispan.query.remote.client.FilterResult>
    • getTypeClasses

      public Set<Class<? extends org.infinispan.query.remote.client.FilterResult>> getTypeClasses()