public static void main(String[] args) {
        Path storeDir;
        if (args.length > 0) {
            storeDir = Paths.get(args[0]);
        } else {
            storeDir = DEFAULT_STORE_DIR;
        }

        if (!Files.isDirectory(storeDir)) {
            throw new RuntimeException(LogUtil.message("Unable to find store directory {}", storeDir.toString()));
        }

        LOGGER.info("Using storeDir {}", storeDir.toAbsolutePath().normalize());

        ReferenceDataConfig referenceDataConfig = new ReferenceDataConfig()
                .withLmdbConfig(new ReferenceDataLmdbConfig()
                        .withLocalDir(storeDir.toAbsolutePath().toString()));

        Injector injector = Guice.createInjector(
                new AbstractModule() {
                    @Override
                    protected void configure() {
                        bind(ReferenceDataConfig.class).toInstance(referenceDataConfig);
                        install(new RefDataStoreModule());
                        install(new PipelineScopeModule());
                    }
                });

        RefDataStoreFactory refDataStoreFactory = injector.getInstance(RefDataStoreFactory.class);
        RefDataStore refDataStore = refDataStoreFactory.getOffHeapStore();

        refDataStore.logAllContents(LOGGER::info);
    }
main() method to dump the contents of all the table in the {@link RefDataOffHeapStore}.
This is useful when running pipeline processing int tests or stroom and you want to see what is
in the store.
<p>
Not advisable to use if there are large amounts of data in the store.
stroom-pipeline/src/test/java/stroom/pipeline/refdata/store/offheapstore/DumpRefDataOffHeapStore.java