All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.redis.datasource.RedisCommandExtraArguments Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.redis.datasource;

import java.util.Collections;
import java.util.List;

import io.quarkus.redis.datasource.codecs.Codec;

public interface RedisCommandExtraArguments {

    /**
     * @return the list of arguments.
     */
    default List toArgs() {
        return toArgs(null);
    }

    /**
     * @param encoder an optional encoder to encode some of the values
     * @return the list of arguments.
     */
    default List toArgs(Codec encoder) {
        return Collections.emptyList();
    }

}