private DataType getCurDataType() {
        return lastResult != null
                ? lastResult.getDataType()
                : null;
    }
Compare the {@link DataRange}s using on the from/to {@link Location};
stroom-core-client/src/main/java/stroom/data/client/presenter/SourcePresenter.java