Class TableUpdateValidator

java.lang.Object
io.deephaven.engine.table.impl.TableUpdateValidator
All Implemented Interfaces:
QueryTable.Operation<QueryTable>

public class TableUpdateValidator extends Object implements QueryTable.Operation<QueryTable>
  • Method Details

    • make

      public static TableUpdateValidator make(QueryTable tableToValidate)
    • make

      public static TableUpdateValidator make(String description, QueryTable tableToValidate)
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface QueryTable.Operation<QueryTable>
      Returns:
      the description of this operation
    • getLogPrefix

      public String getLogPrefix()
      Specified by:
      getLogPrefix in interface QueryTable.Operation<QueryTable>
      Returns:
      the log prefix of this operation
    • initialize

      public QueryTable.Operation.Result<QueryTable> initialize(boolean usePrev, long beforeClock)
      Description copied from interface: QueryTable.Operation
      Initialize this operation.
      Specified by:
      initialize in interface QueryTable.Operation<QueryTable>
      Parameters:
      usePrev - data from the previous cycle should be used (otherwise use this cycle)
      beforeClock - the clock value that we captured before the function began; the function can use this value to bail out early if it notices something has gone wrong.
      Returns:
      the result table / listener if successful, null if it should be retried.
    • getResultTable

      public QueryTable getResultTable()
    • validate

      public void validate()
    • deepValidation

      public void deepValidation()
    • hasFailed

      public boolean hasFailed()
      Has an update validation failed on this table?
      Returns:
      true if an update validation has failed on this table.
    • dontValidateColumns

      public void dontValidateColumns(String[] columnNames)