Interface QueryFactory

    • Method Detail

      • querySubtree

        <T extends DataObject> @NonNull DescendantQueryBuilder<T> querySubtree​(InstanceIdentifier<T> rootPath)
        Create a new DescendantQueryBuilder for a specified root path. Root path must be a non-wildcard InstanceIdentifier in general sense. If the target type represents a list, the last path argument may be a wildcard, in which case the path is interpreted to search the specified list. Inner path elements have to be always non-wildcarded.
        Type Parameters:
        T - Target object type
        Parameters:
        rootPath - Subtree root
        Returns:
        a subtree query instance
        Throws:
        IllegalArgumentException - if rootPath is incorrect
        NullPointerException - if rootPath is null