Class DistinctSortedStrings
- java.lang.Object
-
- zipkin2.storage.cassandra.internal.call.AccumulateAllResults<java.util.List<java.lang.String>>
-
- zipkin2.storage.cassandra.internal.call.DistinctSortedStrings
-
- All Implemented Interfaces:
Call.FlatMapper<com.datastax.driver.core.ResultSet,java.util.List<java.lang.String>>
public final class DistinctSortedStrings extends AccumulateAllResults<java.util.List<java.lang.String>>
-
-
Constructor Summary
Constructors Constructor Description DistinctSortedStrings(java.lang.String columnName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.function.BiConsumer<com.datastax.driver.core.Row,java.util.List<java.lang.String>>
accumulator()
protected java.util.function.Function<java.util.List<java.lang.String>,java.util.List<java.lang.String>>
finisher()
Customizes the aggregated result.protected java.util.function.Supplier<java.util.List<java.lang.String>>
supplier()
java.lang.String
toString()
-
Methods inherited from class zipkin2.storage.cassandra.internal.call.AccumulateAllResults
map
-
-
-
-
Method Detail
-
supplier
protected java.util.function.Supplier<java.util.List<java.lang.String>> supplier()
- Specified by:
supplier
in classAccumulateAllResults<java.util.List<java.lang.String>>
-
finisher
protected java.util.function.Function<java.util.List<java.lang.String>,java.util.List<java.lang.String>> finisher()
Description copied from class:AccumulateAllResults
Customizes the aggregated result. For example, summarizing or making immutable.- Overrides:
finisher
in classAccumulateAllResults<java.util.List<java.lang.String>>
-
accumulator
protected java.util.function.BiConsumer<com.datastax.driver.core.Row,java.util.List<java.lang.String>> accumulator()
- Specified by:
accumulator
in classAccumulateAllResults<java.util.List<java.lang.String>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-