test_class.file: culvert-main/src/test/java/com/bah/culvert/constraints/RetrieveColumnsTest.java
test_class.identifier: RetrieveColumnsTest
test_case.body: @Test
    public void testRetrieveAllColumns() throws Exception {
      // setup the table
      List<CKeyValue> values = new ArrayList<CKeyValue>();
      values.add(new CKeyValue(new byte[] { 1 }, new byte[] { 2 },
          new byte[] { 3 }, new byte[] { 4 }));
      values.add(new CKeyValue(new byte[] { 2 }, new byte[] { 2 },
          new byte[] { 3 }, new byte[] { 5 }));
      values.add(new CKeyValue(new byte[] { 3 }, new byte[] { 2 },
          new byte[] { 3 }, new byte[] { 6 }));
      values.add(new CKeyValue(new byte[] { 4 }, new byte[] { 2 },
          new byte[] { 3 }, new byte[] { 7 }));
  
      InMemoryTable t1 = new InMemoryTable();
      t1.put(new Put(values));
  
      // test that we pull back any and all columns
      SeekingCurrentIterator iter = new RetrieveColumns(new KeyOnlyFilter(t1), t1)
          .getResultIterator();
      assertTrue(iter.hasNext());
      assertCount(iter, 4, 4);
    }
test_case.class_method_signature: RetrieveColumnsTest.testRetrieveAllColumns()
test_case.full_signature: @Test public void testRetrieveAllColumns()
test_case.identifier: testRetrieveAllColumns
test_case.invocations: add add add add put getResultIterator assertTrue hasNext assertCount
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRetrieveAllColumns()
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.file: culvert-main/src/main/java/com/bah/culvert/constraints/RetrieveColumns.java
focal_class.identifier: RetrieveColumns
focal_class.class_method_signature: RetrieveColumns.RetrieveColumns()
focal_class.full_signature: public  RetrieveColumns()
focal_class.identifier: RetrieveColumns
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RetrieveColumns()
focal_class.class_method_signature: RetrieveColumns.RetrieveColumns(Constraint subConstraint, TableAdapter primaryTable)
focal_class.full_signature: public  RetrieveColumns(Constraint subConstraint, TableAdapter primaryTable)
focal_class.identifier: RetrieveColumns
focal_class.modifiers: public
focal_class.parameters: (Constraint subConstraint, TableAdapter primaryTable)
focal_class.signature:  RetrieveColumns(Constraint subConstraint, TableAdapter primaryTable)
focal_class.class_method_signature: RetrieveColumns.RetrieveColumns(Constraint subConstraint, TableAdapter primaryTable,
        CColumn... columns)
focal_class.full_signature: public  RetrieveColumns(Constraint subConstraint, TableAdapter primaryTable,
        CColumn... columns)
focal_class.identifier: RetrieveColumns
focal_class.modifiers: public
focal_class.parameters: (Constraint subConstraint, TableAdapter primaryTable,
        CColumn... columns)
focal_class.signature:  RetrieveColumns(Constraint subConstraint, TableAdapter primaryTable,
        CColumn... columns)
focal_class.class_method_signature: RetrieveColumns.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: RetrieveColumns.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.class_method_signature: RetrieveColumns.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.superclass: extends Constraint
focal_method.body: @Override
    public SeekingCurrentIterator getResultIterator() {
  
      SeekingCurrentIterator results = this.subConstraint.getResultIterator();
      return new RetrieveColumnsIterator(results, this.table, this.columns);
    }
focal_method.class_method_signature: RetrieveColumns.getResultIterator()
focal_method.full_signature: @Override public SeekingCurrentIterator getResultIterator()
focal_method.identifier: getResultIterator
focal_method.invocations: getResultIterator
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: SeekingCurrentIterator
focal_method.signature: SeekingCurrentIterator getResultIterator()