Class OptionsUtils

java.lang.Object
com.datastax.astra.internal.utils.OptionsUtils

public class OptionsUtils extends Object
Reuse of treatments for options
  • Method Details

    • sort

      public static Document sort(Sort... pSort)
      Fluent api.
      Parameters:
      pSort - list of sorts
      Returns:
      Self reference
    • projection

      public static Map<String,Object> projection(Projection... pProjections)
      Fluent api.
      Parameters:
      pProjections - list of projections
      Returns:
      Self reference