Interface ExpandingCollectionQuerySpace

    • Method Detail

      • addJoin

        void addJoin​(Join join)
        Adds a join with another query space for either a collection element or index. If join is an instance of JoinDefinedByMetadata, then the only valid values returned by JoinDefinedByMetadata.getJoinedPropertyName() are "elements" and "indices" for the collection element or index, respectively.
        Specified by:
        addJoin in interface ExpandingQuerySpace
        Parameters:
        join - The element or index join to add.
        Throws:
        java.lang.IllegalArgumentException - if join is an instance of JoinDefinedByMetadata and join.getJoinedPropertyName() is neither "elements" and "indices".
        java.lang.IllegalStateException - if there is already an existing join with the same joined property name.