hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java
public void setElementKeyPaths(String... paths) {
        resetResults();
        elementKeyPaths = new BitSet(elementPaths.length);
        for(int i=0;i<paths.length;i++) {
            int elementPathIdx = getElementPathIdx(paths[i]);
            if(elementPathIdx == -1)
                throw new IllegalArgumentException("Key path must have been specified as an element match path.  Offending path: " + paths[i]);
            elementKeyPaths.set(elementPathIdx);
        }

        elementNonKeyPaths = new BitSet(elementPaths.length);
        elementNonKeyPaths.set(0, elementPaths.length);
        elementNonKeyPaths.andNot(elementKeyPaths);
    }
public void setElementKeyPaths(String... paths) {
        resetResults();
        elementKeyPaths = new BitSet(elementPaths.length);
        for(int i=0;i<paths.length;i++) {
            int elementPathIdx = getElementPathIdx(paths[i]);
            if(elementPathIdx == -1)
                throw new IllegalArgumentException("Key path must have been specified as an element match path.  Offending path: " + paths[i]);
            elementKeyPaths.set(elementPathIdx);
        }

        elementNonKeyPaths = new BitSet(elementPaths.length);
        elementNonKeyPaths.set(0, elementPaths.length);
        elementNonKeyPaths.andNot(elementKeyPaths);
    }
public void setElementKeyPaths ( String ... paths ) { resetResults ( ) ; elementKeyPaths = new BitSet ( elementPaths . length ) ; for ( int i = 0 ; i < paths . length ; i ++ ) { int elementPathIdx = getElementPathIdx ( paths [ i ] ) ; if ( elementPathIdx == - 1 ) throw new IllegalArgumentException ( "Key path must have been specified as an element match path.  Offending path: " + paths [ i ] ) ; elementKeyPaths . set ( elementPathIdx ) ; } elementNonKeyPaths = new BitSet ( elementPaths . length ) ; elementNonKeyPaths . set ( 0 , elementPaths . length ) ; elementNonKeyPaths . andNot ( elementKeyPaths ) ; }
Optionally specify paths for which we will match records within an individual type's hierarchy

@param paths the paths for matching
Optionally specify paths for which we will match records within an individual type s hierarchy