Package io.lettuce.core.output
Class TransformingOutput.TransformingAccessor
- java.lang.Object
-
- io.lettuce.core.output.TransformingOutput.TransformingAccessor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
get()
Obtain the output as inferred type.<T> T
item(int index)
Obtain an item byindex
from the underlying outputList
.<T> List<T>
list()
Obtain the output asList
.<K,V>
Map<K,V>map()
Obtain the output asMap
.
-
-
-
Method Detail
-
get
public <T> T get()
Obtain the output as inferred type.- Type Parameters:
T
-- Returns:
-
item
public <T> T item(int index)
Obtain an item byindex
from the underlying outputList
.- Type Parameters:
T
-- Parameters:
index
-- Returns:
-
-