test_class.file: culvert-main/src/test/java/com/bah/culvert/data/ResultTest.java
test_class.identifier: ResultTest
test_case.body: @Test
    public void testResultWrite() throws InstantiationException,
        IllegalAccessException, IOException {
  
      // test simple ckv
      CKeyValue ckv = new CKeyValue(new byte[] { 0, 0, 0, 8 });
      Result r1 = new Result(ckv);
      Result ret = (Result) Utils.testReadWrite(r1);
      assertEquals(1, ret.getKeyValues().size());
      assertEquals(ckv, ret.getKeyValues().get(0));
  
      // test more complex ckv
      ckv = new CKeyValue(new byte[] { 1 }, new byte[] { 2 }, new byte[] { 3, 4 });
      r1 = new Result(ckv);
      ret = (Result) Utils.testReadWrite(r1);
      assertEquals(1, ret.getKeyValues().size());
      assertEquals(ckv, ret.getKeyValues().get(0));
    }
test_case.class_method_signature: ResultTest.testResultWrite()
test_case.full_signature: @Test public void testResultWrite()
test_case.identifier: testResultWrite
test_case.invocations: testReadWrite assertEquals size getKeyValues assertEquals get getKeyValues testReadWrite assertEquals size getKeyValues assertEquals get getKeyValues
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testResultWrite()
focal_class.declarator: recordId
focal_class.modifier: protected
focal_class.original_string: protected byte[] recordId;
focal_class.type: byte[]
focal_class.var_name: recordId
focal_class.declarator: values
focal_class.modifier: protected
focal_class.original_string: protected List<CKeyValue> values;
focal_class.type: List<CKeyValue>
focal_class.var_name: values
focal_class.file: culvert-main/src/main/java/com/bah/culvert/data/Result.java
focal_class.identifier: Result
focal_class.interfaces: implements Writable
focal_class.class_method_signature: Result.Result()
focal_class.full_signature: public  Result()
focal_class.identifier: Result
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Result()
focal_class.class_method_signature: Result.Result(byte[] recordID)
focal_class.full_signature: public  Result(byte[] recordID)
focal_class.identifier: Result
focal_class.modifiers: public
focal_class.parameters: (byte[] recordID)
focal_class.signature:  Result(byte[] recordID)
focal_class.class_method_signature: Result.Result(byte[] rowId, CKeyValue... keyValues)
focal_class.full_signature: public  Result(byte[] rowId, CKeyValue... keyValues)
focal_class.identifier: Result
focal_class.modifiers: public
focal_class.parameters: (byte[] rowId, CKeyValue... keyValues)
focal_class.signature:  Result(byte[] rowId, CKeyValue... keyValues)
focal_class.class_method_signature: Result.Result(CKeyValue... keyValues)
focal_class.full_signature: public  Result(CKeyValue... keyValues)
focal_class.identifier: Result
focal_class.modifiers: public
focal_class.parameters: (CKeyValue... keyValues)
focal_class.signature:  Result(CKeyValue... keyValues)
focal_class.class_method_signature: Result.Result(Iterable<CKeyValue> keyValues)
focal_class.full_signature: public  Result(Iterable<CKeyValue> keyValues)
focal_class.identifier: Result
focal_class.modifiers: public
focal_class.parameters: (Iterable<CKeyValue> keyValues)
focal_class.signature:  Result(Iterable<CKeyValue> keyValues)
focal_class.class_method_signature: Result.getRecordId()
focal_class.full_signature: public byte[] getRecordId()
focal_class.identifier: getRecordId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getRecordId()
focal_class.class_method_signature: Result.getKeyValues()
focal_class.full_signature: public List<CKeyValue> getKeyValues()
focal_class.identifier: getKeyValues
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<CKeyValue>
focal_class.signature: List<CKeyValue> getKeyValues()
focal_class.class_method_signature: Result.getValue(byte[] family, byte[] qualifier)
focal_class.full_signature: public CKeyValue getValue(byte[] family, byte[] qualifier)
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: (byte[] family, byte[] qualifier)
focal_class.return: CKeyValue
focal_class.signature: CKeyValue getValue(byte[] family, byte[] qualifier)
focal_class.class_method_signature: Result.setRecordId(byte[] recordId)
focal_class.full_signature: public void setRecordId(byte[] recordId)
focal_class.identifier: setRecordId
focal_class.modifiers: public
focal_class.parameters: (byte[] recordId)
focal_class.return: void
focal_class.signature: void setRecordId(byte[] recordId)
focal_class.class_method_signature: Result.setValues(CKeyValue... values)
focal_class.full_signature: public void setValues(CKeyValue... values)
focal_class.identifier: setValues
focal_class.modifiers: public
focal_class.parameters: (CKeyValue... values)
focal_class.return: void
focal_class.signature: void setValues(CKeyValue... values)
focal_class.class_method_signature: Result.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: Result.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: Result.copy(Result result)
focal_class.full_signature: public void copy(Result result)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (Result result)
focal_class.return: void
focal_class.signature: void copy(Result result)
focal_class.class_method_signature: Result.addKeyValues(CKeyValue... kvs)
focal_class.full_signature: public void addKeyValues(CKeyValue... kvs)
focal_class.identifier: addKeyValues
focal_class.modifiers: public
focal_class.parameters: (CKeyValue... kvs)
focal_class.return: void
focal_class.signature: void addKeyValues(CKeyValue... kvs)
focal_method.body: public List<CKeyValue> getKeyValues() {
      return values;
    }
focal_method.class_method_signature: Result.getKeyValues()
focal_method.full_signature: public List<CKeyValue> getKeyValues()
focal_method.identifier: getKeyValues
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<CKeyValue>
focal_method.signature: List<CKeyValue> getKeyValues()