Interface ScalarMarshaller<T>

Type Parameters:
T - the type of this marshaller
All Superinterfaces:
Marshallable<T>, Readable<T>, Writable<T>
All Known Subinterfaces:
ScalarMarshallerProvider
All Known Implementing Classes:
PackedArrayMarshaller, Scalar, ScalarClass

public interface ScalarMarshaller<T> extends Marshallable<T>
Marshaller for a single scalar value. This marshaller does not write any tags, nor does it read beyond a single value.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.protostream.descriptors.WireType
    Returns the wire type of the scalar value written by this marshaller.

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable

    getJavaClass, size

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Readable

    readFrom

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Writable

    writeTo
  • Method Details

    • getWireType

      org.infinispan.protostream.descriptors.WireType getWireType()
      Returns the wire type of the scalar value written by this marshaller.
      Returns:
      the wire type of the scalar value written by this marshaller.