Interface RecordCompletePredicate


public interface RecordCompletePredicate
A predicate to be used when obtaining a complex record field-by-field from an external source.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The default predicate just tells if the field is already in values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isComplete(Map<String,Object> values, String field)
    Returns whether a record with given field-value mapping can be considered to be complete when reading field without field being yet added to values.
  • Field Details

    • DEFAULT

      static final RecordCompletePredicate DEFAULT
      The default predicate just tells if the field is already in values.
  • Method Details

    • isComplete

      boolean isComplete(Map<String,Object> values, String field)
      Returns whether a record with given field-value mapping can be considered to be complete when reading field without field being yet added to values.
      Parameters:
      values - the values to test
      field - the name of the field being in processing
      Returns:
      true for complete, false for incomplete