code: @Deprecated
    public List<String> whereConditions(QueryNode node, List<Long> corpusList, List<Long> documents)
    {
      LinkedList<String> conditions = new LinkedList<>();
  
      TableAccessStrategy t = tables(node);
  
      // only apply if we have a full facts table
      if(t.isMaterialized(NODE_TABLE, FACTS_TABLE)
        && t.isMaterialized(NODE_ANNOTATION_TABLE, FACTS_TABLE)
        && t.isMaterialized(EDGE_ANNOTATION_TABLE, FACTS_TABLE)
        && t.isMaterialized(RANK_TABLE, FACTS_TABLE)
        && t.isMaterialized(COMPONENT_TABLE, FACTS_TABLE))
      {
  
        if(!t.usesRankTable() && !t.usesComponentTable() && !t.usesEdgeAnnotationTable() && !t.usesNodeAnnotationTable())
        {
          // artificial node subview
          conditions.add(isTrue(t.aliasedColumn(FACTS_TABLE, "n_sample")));
          //conditions.add(bitSelect(t.aliasedColumn(FACTS_TABLE, "sample"), new boolean[]{true, false, false, false, false}));
        }
        else if(!t.usesRankTable() && !t.usesComponentTable() && !t.usesEdgeAnnotationTable() && t.usesNodeAnnotationTable())
        {
          // artificial node-node_annotation subview
          conditions.add(isTrue(t.aliasedColumn(FACTS_TABLE, "n_na_sample")));
          //conditions.add(bitSelect(t.aliasedColumn(FACTS_TABLE, "sample"), new boolean[]{false, true, false, false, false}));
        }
  
      }
      return conditions;
    }
docs: VR: inline