hollow/src/main/java/com/netflix/hollow/tools/combine/HollowCombinerExcludePrimaryKeysCopyDirector.java
public void excludeKey(HollowPrimaryKeyIndex idx, Object... key) {
        int excludeOrdinal = idx.getMatchingOrdinal(key);
        
        if(excludeOrdinal >= 0) {
            BitSet excludedOrdinals = this.excludedOrdinals.get(idx.getTypeState());
            
            if(excludedOrdinals == null) {
                excludedOrdinals = new BitSet(idx.getTypeState().maxOrdinal()+1);
                this.excludedOrdinals.put(idx.getTypeState(), excludedOrdinals);
            }
            
            excludedOrdinals.set(excludeOrdinal);
        }
    }
public void excludeKey(HollowPrimaryKeyIndex idx, Object... key) {
        int excludeOrdinal = idx.getMatchingOrdinal(key);
        
        if(excludeOrdinal >= 0) {
            BitSet excludedOrdinals = this.excludedOrdinals.get(idx.getTypeState());
            
            if(excludedOrdinals == null) {
                excludedOrdinals = new BitSet(idx.getTypeState().maxOrdinal()+1);
                this.excludedOrdinals.put(idx.getTypeState(), excludedOrdinals);
            }
            
            excludedOrdinals.set(excludeOrdinal);
        }
    }
Exclude the record which matches the specified key.

@param idx the index in which to query for the key
@param key the key