Class MapStore

  • Direct Known Subclasses:
    SingleUseMapStore

    public class MapStore
    extends Store
    An implementation of Store that uses any class that implements Java's Map interface to store the Elements. The Element objects are stored in memory, i.e . no serialisation is performed.

    It is designed to support efficient aggregation of properties. The key of the Map is the Element with any group-by properties, and the value is the non-group-by properties. This allows very quick aggregation of properties from a new Element with existing properties.

    Indices can optionally be maintained to allow quick look-up of Elements based on EntityIds or EdgeIds.