@Override
    public boolean consumeValue(final RefDataValueProxyConsumerFactory refDataValueProxyConsumerFactory) {
        LOGGER.trace("consume(...)");

        // get the consumer appropriate to the refDataStore that this proxy came from. The refDataStore knows
        // what its values look like (e.g. heap objects or bytebuffers)
        final RefDataValueProxyConsumer refDataValueProxyConsumer = refDataValueProxyConsumerFactory
                .getConsumer(refDataStore.getStorageType());

        try {
            final boolean wasFound = refDataValueProxyConsumer.consume(this);
            if (wasFound) {
                successfulMapDefinition = mapDefinition;
            }
            return wasFound;
        } catch (XPathException e) {
            throw new RuntimeException(LogUtil.message(
                    "Error consuming reference data value for key [{}], {}: {}",
                    key, mapDefinition, e.getMessage()), e);
        }
    }
If a reference data entry exists for this {@link SingleRefDataValueProxy} pass its value to the consumer
as a {@link TypedByteBuffer}.

@param typedByteBufferConsumer
@return True if the entry is found and the consumer is called.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/SingleRefDataValueProxy.java