public static DataStoreSettings createAnalyticStoreSettings() {
        return DataStoreSettings
                .builder()
                .storeLatestEventReference(true)
                .maxResults(Sizes.unlimited())
                .build();
    }
Settings to configure the behaviour of a data store.
stroom-query/stroom-query-common/src/main/java/stroom/query/common/v2/DataStoreSettings.java