@Override
    public DataVolume findDataVolume(final long metaId) {
        final Map<Integer, FsVolume> volumeCache = new HashMap<>();
        return JooqUtil.contextResult(fsDataStoreDbConnProvider, context -> context
                        .select(FS_META_VOLUME.META_ID, FS_META_VOLUME.FS_VOLUME_ID)
                        .from(FS_META_VOLUME)
                        .where(FS_META_VOLUME.META_ID.eq(metaId))
                        .fetchOptional())
                .map(r -> {
                    final Integer volumeId = r.get(FS_META_VOLUME.FS_VOLUME_ID);
                    final FsVolume volume = volumeCache.computeIfAbsent(volumeId, fsVolumeCache::get);
                    return new DataVolumeImpl(r.get(FS_META_VOLUME.META_ID), volume);
                })
                .orElse(null);
    }
Return the meta data volumes for a meta id.
stroom-data/stroom-data-store-impl-fs-db/src/main/java/stroom/data/store/impl/fs/db/DataVolumeDaoImpl.java