hollow/src/main/java/com/netflix/hollow/core/read/engine/map/HollowMapTypeReadState.java [477:503]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            totalApproximateHoleCostInBytes += shards[i].getApproximateHoleCostInBytes(populatedOrdinals, i, shards.length);
        
        return totalApproximateHoleCostInBytes;
    }
    
    public HollowPrimaryKeyValueDeriver getKeyDeriver() {
        return keyDeriver;
    }
    
    public void buildKeyDeriver() {
        if(getSchema().getHashKey() != null) {
            try {
                this.keyDeriver = new HollowPrimaryKeyValueDeriver(getSchema().getHashKey(), getStateEngine());
            } catch (FieldPaths.FieldPathException e) {
                if (e.error == NOT_BINDABLE) {
                    LOG.log(Level.WARNING, "Failed to create a key value deriver for " + getSchema().getHashKey() +
                        " because a field could not be bound to a type in the state");
                } else {
                    throw e;
                }
            }
        }
    }

    @Override
    public int numShards() {
        return this.shardsVolatile.shards.length;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hollow/src/main/java/com/netflix/hollow/core/read/engine/set/HollowSetTypeReadState.java [420:446]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            totalApproximateHoleCostInBytes += shards[i].getApproximateHoleCostInBytes(populatedOrdinals, i, shards.length);
        
        return totalApproximateHoleCostInBytes;
	}
	
	public HollowPrimaryKeyValueDeriver getKeyDeriver() {
	    return keyDeriver;
	}
	
	public void buildKeyDeriver() {
        if(getSchema().getHashKey() != null) {
            try {
                this.keyDeriver = new HollowPrimaryKeyValueDeriver(getSchema().getHashKey(), getStateEngine());
            } catch (FieldPaths.FieldPathException e) {
                if (e.error == NOT_BINDABLE) {
                    LOG.log(Level.WARNING, "Failed to create a key value deriver for " + getSchema().getHashKey() +
                        " because a field could not be bound to a type in the state");
                } else {
                    throw e;
                }
            }
        }
	}

    @Override
    public int numShards() {
        return this.shardsVolatile.shards.length;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



