Interface DataStore.Builder.SerializersStep

    • Method Detail

      • keys

        DataStore.Builder.EndStep keys​(Key<?> key,
                                       Key<?>... moreKeys)
        Adds one or more keys using the default implemented serializers for the given key.

        The ResourceKeyed.key() resource-key} value will be used as DataQuery

        Parameters:
        key - The data key
        moreKeys - more data keys
        Returns:
        this builder for chaining
      • key

        default <T,​V extends Value<T>> DataStore.Builder.EndStep key​(Key<V> key,
                                                                           String... dataQueries)
        Adds the default implemented serializers for the given key.
        Parameters:
        key - The data key
        dataQueries - The dataQuery to serialize this key under
        Returns:
        this builder for chaining
      • key

        <T,​V extends Value<T>> DataStore.Builder.EndStep key​(Key<V> key,
                                                                   DataQuery dataQuery)
        Adds the default implemented serializers for the given key.
        Parameters:
        key - The data key
        dataQuery - The dataQuery to serialize this key under
        Returns:
        this builder for chaining