Class DeferredOperationTableHandle

java.lang.Object
com.illumon.iris.db.plot.util.tables.TableHandle
com.illumon.iris.db.plot.util.tables.DeferredOperationTableHandle
All Implemented Interfaces:
Serializable

public class DeferredOperationTableHandle extends TableHandle
See Also:
  • Constructor Details

    • DeferredOperationTableHandle

      public DeferredOperationTableHandle(@NotNull Table table, @NotNull Function<Table,Table> operation, @NotNull String... columns)
  • Method Details

    • applyOperationsAfterAcls

      public Table applyOperationsAfterAcls(UserContext context, RemoteQueryProcessor rqp, FigureImpl figure)
    • getNoAclResult

      public Table getNoAclResult()
    • getFinalTableDefinition

      public TableDefinition getFinalTableDefinition()
      Description copied from class: TableHandle
      Get the TableDefinition of the table that will be handed off to actual plotting methods. This method is important because in some cases (ie when ACls are applied to source tables) computations must be deferred until after ACL application so that they are applied correctly. In this case, the table produced by TableHandle.getTable() may be the raw source table, not the final table. This method is used to get the final result table definition no matter what the preconditions are.
      Overrides:
      getFinalTableDefinition in class TableHandle
      Returns:
      The TableDefinition of the plotted table.