Class DocumentGraphValidator

java.lang.Object
com.yahoo.schema.DocumentGraphValidator

public class DocumentGraphValidator extends Object
Validates that there are no cycles between document types (exception: self-reference is allowed). Example: if document B inherits A, then A cannot have a document reference to B.
Author:
bjorncs
  • Constructor Details

    • DocumentGraphValidator

      public DocumentGraphValidator()
  • Method Details

    • validateDocumentGraph

      public void validateDocumentGraph(List<SDDocumentType> documents)