@Override
  public void reset() throws IOException {
    this.curFamily.unset();
    this.curQualifier.unset();
    this.curFamilyMaxVersions = 0;
    this.curQualMetVersions = 0;
  }
This Filter checks the visibility expression with each KV against visibility labels associated
with the scan. Based on the check the KV is included in the scan result or gets filtered out.
hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityLabelFilter.java