Class 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DistinctSortedStrings

        public DistinctSortedStrings​(java.lang.String columnName)
    • Method Detail

      • supplier

        protected java.util.function.Supplier<java.util.List<java.lang.String>> supplier()
        Specified by:
        supplier in class AccumulateAllResults<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 class AccumulateAllResults<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 class AccumulateAllResults<java.util.List<java.lang.String>>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object