test_class.file: culvert-main/src/test/java/com/bah/culvert/constraints/filter/ResultFilterTest.java
test_class.identifier: ResultFilterTest
test_case.body: @Test
    public void selectStar() throws Exception {
      TableAdapter table = new InMemoryTable();
      List<CKeyValue> values = new ArrayList<CKeyValue>();
      values.add(new CKeyValue(new byte[] { 1 }));
      values.add(new CKeyValue(new byte[] { 2 }, new byte[] { 3 },
          new byte[] { 4 }));
      values.add(new CKeyValue(new byte[] { 3 }, new byte[] { 4 },
          new byte[] { 5 }, 0, new byte[] { 6 }));
  
      table.put(new Put(values));
      ResultFilter selectStar = new ResultFilter(table);
      Iterator<Result> results = selectStar.getResultIterator();
      assertCount(results, 3);
      assertSeek(selectStar.getResultIterator(), new byte[] { 2 }, true, 1,
          new byte[0], new byte[] { 6 });
    }
test_case.class_method_signature: ResultFilterTest.selectStar()
test_case.full_signature: @Test public void selectStar()
test_case.identifier: selectStar
test_case.invocations: add add add put getResultIterator assertCount assertSeek getResultIterator
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void selectStar()
focal_class.declarator: ow = new ObjectWritable()
focal_class.modifier: private static final
focal_class.original_string: private static final ObjectWritable ow = new ObjectWritable();
focal_class.type: ObjectWritable
focal_class.var_name: ow
focal_class.declarator: table
focal_class.modifier: private
focal_class.original_string: private TableAdapter table;
focal_class.type: TableAdapter
focal_class.var_name: table
focal_class.declarator: subConstraint
focal_class.modifier: private
focal_class.original_string: private Constraint subConstraint;
focal_class.type: Constraint
focal_class.var_name: subConstraint
focal_class.declarator: columns
focal_class.modifier: private
focal_class.original_string: private CColumn[] columns;
focal_class.type: CColumn[]
focal_class.var_name: columns
focal_class.declarator: range
focal_class.modifier: private
focal_class.original_string: private CRange range;
focal_class.type: CRange
focal_class.var_name: range
focal_class.file: culvert-main/src/main/java/com/bah/culvert/constraints/filter/ResultFilter.java
focal_class.identifier: ResultFilter
focal_class.class_method_signature: ResultFilter.ResultFilter()
focal_class.full_signature: public  ResultFilter()
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ResultFilter()
focal_class.class_method_signature: ResultFilter.ResultFilter(Constraint subConstraint, CRange range,
        CColumn... columns)
focal_class.full_signature: public  ResultFilter(Constraint subConstraint, CRange range,
        CColumn... columns)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (Constraint subConstraint, CRange range,
        CColumn... columns)
focal_class.signature:  ResultFilter(Constraint subConstraint, CRange range,
        CColumn... columns)
focal_class.class_method_signature: ResultFilter.ResultFilter(TableAdapter primaryTable, CRange range,
        CColumn... columns)
focal_class.full_signature: public  ResultFilter(TableAdapter primaryTable, CRange range,
        CColumn... columns)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (TableAdapter primaryTable, CRange range,
        CColumn... columns)
focal_class.signature:  ResultFilter(TableAdapter primaryTable, CRange range,
        CColumn... columns)
focal_class.class_method_signature: ResultFilter.ResultFilter(CRange range, Constraint subConstraint)
focal_class.full_signature: public  ResultFilter(CRange range, Constraint subConstraint)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (CRange range, Constraint subConstraint)
focal_class.signature:  ResultFilter(CRange range, Constraint subConstraint)
focal_class.class_method_signature: ResultFilter.ResultFilter(TableAdapter primaryTable, CRange range)
focal_class.full_signature: public  ResultFilter(TableAdapter primaryTable, CRange range)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (TableAdapter primaryTable, CRange range)
focal_class.signature:  ResultFilter(TableAdapter primaryTable, CRange range)
focal_class.class_method_signature: ResultFilter.ResultFilter(Constraint subConstraint, CColumn... columns)
focal_class.full_signature: public  ResultFilter(Constraint subConstraint, CColumn... columns)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (Constraint subConstraint, CColumn... columns)
focal_class.signature:  ResultFilter(Constraint subConstraint, CColumn... columns)
focal_class.class_method_signature: ResultFilter.ResultFilter(TableAdapter primaryTable, CColumn... columns)
focal_class.full_signature: public  ResultFilter(TableAdapter primaryTable, CColumn... columns)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (TableAdapter primaryTable, CColumn... columns)
focal_class.signature:  ResultFilter(TableAdapter primaryTable, CColumn... columns)
focal_class.class_method_signature: ResultFilter.ResultFilter(TableAdapter primaryTable)
focal_class.full_signature: public  ResultFilter(TableAdapter primaryTable)
focal_class.identifier: ResultFilter
focal_class.modifiers: public
focal_class.parameters: (TableAdapter primaryTable)
focal_class.signature:  ResultFilter(TableAdapter primaryTable)
focal_class.class_method_signature: ResultFilter.equals(Object compareto)
focal_class.full_signature: @Override public boolean equals(Object compareto)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object compareto)
focal_class.return: boolean
focal_class.signature: boolean equals(Object compareto)
focal_class.class_method_signature: ResultFilter.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ResultFilter.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ResultFilter.getResultIterator()
focal_class.full_signature: @Override public SeekingCurrentIterator getResultIterator()
focal_class.identifier: getResultIterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: SeekingCurrentIterator
focal_class.signature: SeekingCurrentIterator getResultIterator()
focal_class.class_method_signature: ResultFilter.readFields(DataInput in)
focal_class.full_signature: @Override public void readFields(DataInput in)
focal_class.identifier: readFields
focal_class.modifiers: @Override public
focal_class.parameters: (DataInput in)
focal_class.return: void
focal_class.signature: void readFields(DataInput in)
focal_class.class_method_signature: ResultFilter.write(DataOutput out)
focal_class.full_signature: @Override public void write(DataOutput out)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (DataOutput out)
focal_class.return: void
focal_class.signature: void write(DataOutput out)
focal_class.superclass: extends Constraint
focal_method.body: @Override
    public SeekingCurrentIterator getResultIterator() {
      SeekingCurrentIterator results;
      // if there is no subconstraint, just do the get on the table
      if (this.subConstraint == null) {
        Get get = new Get(this.range);
        for (CColumn column : this.columns)
          get.addColumn(column.getColumnFamily(), column.getColumnQualifier());
        results = table.get(get);
      } else
        results = this.subConstraint.getResultIterator();
  
      // check to see if we need to filter the columns
      if (this.columns == null || this.columns.length == 0)
        return results;
  
      // if we do, return a filtered version
      return new FilteringIterator(this.columns, results);
    }
focal_method.class_method_signature: ResultFilter.getResultIterator()
focal_method.full_signature: @Override public SeekingCurrentIterator getResultIterator()
focal_method.identifier: getResultIterator
focal_method.invocations: addColumn getColumnFamily getColumnQualifier get getResultIterator
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: SeekingCurrentIterator
focal_method.signature: SeekingCurrentIterator getResultIterator()