Interface MVMap.MapBuilder<M extends MVMap<K,​V>,​K,​V>

  • Type Parameters:
    M - the map type
    K - the key type
    V - the value type
    All Known Implementing Classes:
    MVMap.BasicBuilder, MVMap.Builder
    Enclosing class:
    MVMap<K,​V>

    public static interface MVMap.MapBuilder<M extends MVMap<K,​V>,​K,​V>
    A builder for maps.
    • Method Detail

      • create

        M create​(MVStore store,
                 Map<String,​Object> config)
        Create a new map of the given type.
        Parameters:
        store - which will own this map
        config - configuration
        Returns:
        the map
      • setKeyType

        void setKeyType​(DataType dataType)
      • setValueType

        void setValueType​(DataType dataType)