Interface Wrapper
- All Known Implementing Classes:
ByteArrayWrapper, IdentityWrapper
public interface Wrapper
A Wrapper is used to decorate objects.
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 Summary
-
Method Details
-
wrap
-
unwrap
-
id
byte id() -
isFilterable
boolean isFilterable()- Returns:
- true if the wrapped format is suitable to be indexed or filtered, thus avoiding extra unwrapping.
-