test_class.declarator: tableName = "dataTable"
test_class.modifier: private final
test_class.original_string: private final String tableName = "dataTable";
test_class.type: String
test_class.var_name: tableName
test_class.declarator: naiveIndex
test_class.modifier: private
test_class.original_string: private NaiveIndex naiveIndex;
test_class.type: NaiveIndex
test_class.var_name: naiveIndex
test_class.declarator: aaaRowId = "AAA".getBytes()
test_class.modifier: private final
test_class.original_string: private final byte[] aaaRowId = "AAA".getBytes();
test_class.type: byte[]
test_class.var_name: aaaRowId
test_class.declarator: bbbRowId = "BBB".getBytes()
test_class.modifier: private final
test_class.original_string: private final byte[] bbbRowId = "BBB".getBytes();
test_class.type: byte[]
test_class.var_name: bbbRowId
test_class.declarator: cccRowId = "CCC".getBytes()
test_class.modifier: private final
test_class.original_string: private final byte[] cccRowId = "CCC".getBytes();
test_class.type: byte[]
test_class.var_name: cccRowId
test_class.declarator: rowIdList = new ArrayList<byte[]>()
test_class.modifier: private final
test_class.original_string: private final ArrayList<byte[]> rowIdList = new ArrayList<byte[]>();
test_class.type: ArrayList<byte[]>
test_class.var_name: rowIdList
test_class.declarator: colFam = "fam".getBytes()
test_class.modifier: private final
test_class.original_string: private final byte[] colFam = "fam".getBytes();
test_class.type: byte[]
test_class.var_name: colFam
test_class.declarator: colQual = "qual".getBytes()
test_class.modifier: private final
test_class.original_string: private final byte[] colQual = "qual".getBytes();
test_class.type: byte[]
test_class.var_name: colQual
test_class.declarator: value = "value".getBytes()
test_class.modifier: private final
test_class.original_string: private final byte[] value = "value".getBytes();
test_class.type: byte[]
test_class.var_name: value
test_class.file: culvert-main/src/test/java/com/bah/culvert/data/index/NaiveIndexTest.java
test_class.identifier: NaiveIndexTest
test_case.body: @Test
    public void testGetRange() {
      SeekingCurrentIterator indexIterator = naiveIndex.handleGet(cccRowId,
          cccRowId);
  
      // Test the returned data
      int count = 0;
      while (indexIterator.hasNext()) {
        Result result = indexIterator.next();
        count++;
  
        assertTrue(Bytes.compareTo(result.getRecordId(), cccRowId) == 0);
      }
  
      // Test if we have the expected number of results
      assertTrue(count == 1);
    }
test_case.class_method_signature: NaiveIndexTest.testGetRange()
test_case.full_signature: @Test public void testGetRange()
test_case.identifier: testGetRange
test_case.invocations: handleGet hasNext next assertTrue compareTo getRecordId assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetRange()
focal_class.file: culvert-main/src/main/java/com/bah/culvert/data/index/NaiveIndex.java
focal_class.identifier: NaiveIndex
focal_class.class_method_signature: NaiveIndex.handlePut(Put put)
focal_class.full_signature: @Override public void handlePut(Put put)
focal_class.identifier: handlePut
focal_class.modifiers: @Override public
focal_class.parameters: (Put put)
focal_class.return: void
focal_class.signature: void handlePut(Put put)
focal_class.class_method_signature: NaiveIndex.handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_class.full_signature: @Override public SeekingCurrentIterator handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_class.identifier: handleGet
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_class.return: SeekingCurrentIterator
focal_class.signature: SeekingCurrentIterator handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_class.superclass: extends Index
focal_method.body: @Override
    public SeekingCurrentIterator handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd) {
  
      TableAdapter dataTable = getIndexTable();
  
      // Just need to return a SelectRowId on the rowId and use its
      // getResultsIterator
      // to return the row IDs
      KeyOnlyFilter selectRowId = new KeyOnlyFilter(dataTable, new CRange(
          indexRangeStart, indexRangeEnd));
      return selectRowId.getResultIterator();
    }
focal_method.class_method_signature: NaiveIndex.handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_method.full_signature: @Override public SeekingCurrentIterator handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_method.identifier: handleGet
focal_method.invocations: getIndexTable getResultIterator
focal_method.modifiers: @Override public
focal_method.parameters: (byte[] indexRangeStart,
        byte[] indexRangeEnd)
focal_method.return: SeekingCurrentIterator
focal_method.signature: SeekingCurrentIterator handleGet(byte[] indexRangeStart,
        byte[] indexRangeEnd)