Annotation Interface SpaceClassBinaryStorage


@Target(TYPE) @Retention(RUNTIME) public @interface SpaceClassBinaryStorage
Indicates that entries of this class will be stored in-memory in a packed binary format. Binary storage reduces memory consumption, but requires unpacking when accessing the data at the server side (e.g. matching or aggregation). By default, non-indexed properties are stored in binary format, whereas indexed properties are stored in object format, providing a balanced tradeoff between performance and memory footprint. You can override that default per property using the SpacePropertyStorage annotation.
Since:
15.8
Author:
Yael Nahon, Niv Ingberg
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Determines the layout of the binary storage