Class HierarchicalTableGrpcHelper

java.lang.Object
io.deephaven.server.hierarchicaltable.HierarchicalTableGrpcHelper

@InternalUseOnly public class HierarchicalTableGrpcHelper extends Object
Utility functions for the HierarchicalTableServiceGrpcImpl that are useful for other components.
  • Constructor Details

    • HierarchicalTableGrpcHelper

      public HierarchicalTableGrpcHelper()
  • Method Details

    • translateAndValidateSorts

      @Nullable public static @Nullable Collection<SortColumn> translateAndValidateSorts(@NotNull @NotNull List<SortDescriptor> sortsList, @NotNull @NotNull Supplier<Set<String>> sortableColumnsSupplier)
      For each SortDescriptor produce a SortColumn, verifying against the list of sortable columns.
      Parameters:
      sortsList - the list of sorts to translate
      sortableColumnsSupplier - a supplier of sortable column names
      Returns:
      a list of translated sorts, validated against the sortable columns