Package com.yahoo.searchdefinition
Class DocumentReferenceResolver
- java.lang.Object
-
- com.yahoo.searchdefinition.DocumentReferenceResolver
-
public class DocumentReferenceResolver extends java.lang.Object
Resolves all document references in the search definitions Iterates through all document fields having aReferenceDataType
and usesReferenceDataType.getTargetType()
to determine the referenced document. This information is aggregated into aDocumentReferences
object.- Author:
- bjorncs
-
-
Constructor Summary
Constructors Constructor Description DocumentReferenceResolver(java.util.Collection<Schema> schemas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resolveInheritedReferences(SDDocumentType documentType)
void
resolveReferences(SDDocumentType documentType)
-
-
-
Constructor Detail
-
DocumentReferenceResolver
public DocumentReferenceResolver(java.util.Collection<Schema> schemas)
-
-
Method Detail
-
resolveReferences
public void resolveReferences(SDDocumentType documentType)
-
resolveInheritedReferences
public void resolveInheritedReferences(SDDocumentType documentType)
-
-