@Override
    public void include(final long segment) {
        check(segment);
        includeAll = false;

        if (included == null) {
            included = new TreeSet<>();
        }

        included.add(segment);
    }
Includes a specific segment number when reading from this input stream.

@param segment The segment to include.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/RASegmentInputStream.java