Package com.redis.lettucemod.timeseries
Class Labels<K>
- java.lang.Object
-
- com.redis.lettucemod.timeseries.Labels<K>
-
- All Implemented Interfaces:
io.lettuce.core.CompositeArgument
public class Labels<K> extends java.lang.Object implements io.lettuce.core.CompositeArgument
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddName(K name)<K,V>
voidbuild(io.lettuce.core.protocol.CommandArgs<K,V> args)java.util.List<K>getNames()static <K> Labels<K>of(K... names)voidsetNames(java.util.List<K> names)
-
-
-
Constructor Detail
-
Labels
public Labels()
-
Labels
public Labels(java.util.List<K> names)
-
-
Method Detail
-
getNames
public java.util.List<K> getNames()
-
addName
public void addName(K name)
-
setNames
public void setNames(java.util.List<K> names)
-
build
public <K,V> void build(io.lettuce.core.protocol.CommandArgs<K,V> args)
- Specified by:
buildin interfaceio.lettuce.core.CompositeArgument
-
of
public static <K> Labels<K> of(K... names)
-
-