diff options
Diffstat (limited to 'icing/index/iterator/doc-hit-info-iterator.h')
-rw-r--r-- | icing/index/iterator/doc-hit-info-iterator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/icing/index/iterator/doc-hit-info-iterator.h b/icing/index/iterator/doc-hit-info-iterator.h index 728f957..921e4d4 100644 --- a/icing/index/iterator/doc-hit-info-iterator.h +++ b/icing/index/iterator/doc-hit-info-iterator.h @@ -214,6 +214,12 @@ class DocHitInfoIterator { virtual bool is_leaf() { return false; } + // Whether the iterator has already been applied all the required section + // restrictions. + // If true, calling DocHitInfoIteratorSectionRestrict::ApplyRestrictions on + // this iterator will have no effect. + virtual bool full_section_restriction_applied() const { return false; } + virtual ~DocHitInfoIterator() = default; // Returns: |