Interface Wrapper

  • All Known Implementing Classes:
    ByteArrayWrapper, IdentityWrapper

    public interface Wrapper
    A Wrapper is used to decorate objects produced by the Encoder. A Wrapper, contrary to the Encoder, does not cause data conversion and it's used to provide additional behaviour to the encoded data such as equality/hashCode and indexing capabilities.
    Since:
    9.1
    • Method Detail

      • id

        byte id()
      • isFilterable

        boolean isFilterable()
        Returns:
        true if the wrapped format is suitable to be indexed or filtered, thus avoiding extra unwrapping.