test_class.declarator: key1 = new LongWritable(0)
test_class.modifier: private
test_class.original_string: private LongWritable key1 = new LongWritable(0);
test_class.type: LongWritable
test_class.var_name: key1
test_class.declarator: key2 = new LongWritable(35)
test_class.modifier: private
test_class.original_string: private LongWritable key2 = new LongWritable(35);
test_class.type: LongWritable
test_class.var_name: key2
test_class.declarator: value1 = new Text("{'title':'Test1','value':'test_1'}")
test_class.modifier: private
test_class.original_string: private Text value1 = new Text("{'title':'Test1','value':'test_1'}");
test_class.type: Text
test_class.var_name: value1
test_class.declarator: value2 = new Text("{'title':'Test2','value':'test_2'}")
test_class.modifier: private
test_class.original_string: private Text value2 = new Text("{'title':'Test2','value':'test_2'}");
test_class.type: Text
test_class.var_name: value2
test_class.declarator: ghfs
test_class.modifier: private
test_class.original_string: private FileSystem ghfs;
test_class.type: FileSystem
test_class.var_name: ghfs
test_class.declarator: config
test_class.modifier: private
test_class.original_string: private Configuration config;
test_class.type: Configuration
test_class.var_name: config
test_class.declarator: testTaskAttemptId = new TaskAttemptID(
        new TaskID(new JobID("", 1), true /* isMap */, 1), 1)
test_class.modifier: private
test_class.original_string: private TaskAttemptID testTaskAttemptId = new TaskAttemptID(
        new TaskID(new JobID("", 1), true /* isMap */, 1), 1);
test_class.type: TaskAttemptID
test_class.var_name: testTaskAttemptId
test_class.file: bigquery/src/test/java/com/google/cloud/hadoop/io/bigquery/GsonRecordReaderTest.java
test_class.identifier: GsonRecordReaderTest
test_case.body: @Test
    public void testGetCurrentKey() throws Exception {
      // Load RecordReader with multiple records. Set length of input split to 60 chars.
      GsonRecordReader multipleRecordReader = getRecordReader(60);
  
      // Assert RecordReader returns correct keys.
      assertThat(multipleRecordReader.nextKeyValue()).isTrue();
      assertThat(multipleRecordReader.getCurrentKey()).isEqualTo(key1);
      assertThat(multipleRecordReader.nextKeyValue()).isTrue();
      assertThat(multipleRecordReader.getCurrentKey()).isEqualTo(key2);
      assertThat(multipleRecordReader.nextKeyValue()).isFalse();
      assertThat(multipleRecordReader.getCurrentKey()).isEqualTo(key2);
  
      // Close RecordReader.
      multipleRecordReader.close();
    }
test_case.class_method_signature: GsonRecordReaderTest.testGetCurrentKey()
test_case.full_signature: @Test public void testGetCurrentKey()
test_case.identifier: testGetCurrentKey
test_case.invocations: getRecordReader isTrue assertThat nextKeyValue isEqualTo assertThat getCurrentKey isTrue assertThat nextKeyValue isEqualTo assertThat getCurrentKey isFalse assertThat nextKeyValue isEqualTo assertThat getCurrentKey close
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetCurrentKey()
focal_class.declarator: logger = GoogleLogger.forEnclosingClass()
focal_class.modifier: private static final
focal_class.original_string: private static final GoogleLogger logger = GoogleLogger.forEnclosingClass();
focal_class.type: GoogleLogger
focal_class.var_name: logger
focal_class.declarator: lineReader
focal_class.modifier: private
focal_class.original_string: private LineRecordReader lineReader;
focal_class.type: LineRecordReader
focal_class.var_name: lineReader
focal_class.declarator: currentKey = new LongWritable(0L)
focal_class.modifier: private
focal_class.original_string: private LongWritable currentKey = new LongWritable(0L);
focal_class.type: LongWritable
focal_class.var_name: currentKey
focal_class.declarator: currentValue
focal_class.modifier: private
focal_class.original_string: private JsonObject currentValue;
focal_class.type: JsonObject
focal_class.var_name: currentValue
focal_class.declarator: count
focal_class.modifier: private
focal_class.original_string: private int count;
focal_class.type: int
focal_class.var_name: count
focal_class.declarator: jsonParser
focal_class.modifier: private
focal_class.original_string: private JsonParser jsonParser;
focal_class.type: JsonParser
focal_class.var_name: jsonParser
focal_class.file: bigquery/src/main/java/com/google/cloud/hadoop/io/bigquery/GsonRecordReader.java
focal_class.identifier: GsonRecordReader
focal_class.class_method_signature: GsonRecordReader.initialize(InputSplit genericSplit, TaskAttemptContext context)
focal_class.full_signature: @Override public void initialize(InputSplit genericSplit, TaskAttemptContext context)
focal_class.identifier: initialize
focal_class.modifiers: @Override public
focal_class.parameters: (InputSplit genericSplit, TaskAttemptContext context)
focal_class.return: void
focal_class.signature: void initialize(InputSplit genericSplit, TaskAttemptContext context)
focal_class.class_method_signature: GsonRecordReader.nextKeyValue()
focal_class.full_signature: @Override public boolean nextKeyValue()
focal_class.identifier: nextKeyValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean nextKeyValue()
focal_class.class_method_signature: GsonRecordReader.getCurrentKey()
focal_class.full_signature: @Override public LongWritable getCurrentKey()
focal_class.identifier: getCurrentKey
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: LongWritable
focal_class.signature: LongWritable getCurrentKey()
focal_class.class_method_signature: GsonRecordReader.getCurrentValue()
focal_class.full_signature: @Override public JsonObject getCurrentValue()
focal_class.identifier: getCurrentValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject getCurrentValue()
focal_class.class_method_signature: GsonRecordReader.getProgress()
focal_class.full_signature: @Override public float getProgress()
focal_class.identifier: getProgress
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getProgress()
focal_class.class_method_signature: GsonRecordReader.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.superclass: extends RecordReader<LongWritable, JsonObject>
focal_method.body: @Override
    public LongWritable getCurrentKey() {
      return currentKey;
    }
focal_method.class_method_signature: GsonRecordReader.getCurrentKey()
focal_method.full_signature: @Override public LongWritable getCurrentKey()
focal_method.identifier: getCurrentKey
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: LongWritable
focal_method.signature: LongWritable getCurrentKey()