test_class.declarator: schema
test_class.original_string: Schema schema;
test_class.type: Schema
test_class.var_name: schema
test_class.declarator: textRow
test_class.original_string: byte[][] textRow;
test_class.type: byte[][]
test_class.var_name: textRow
test_class.declarator: nullbytes
test_class.original_string: byte[] nullbytes;
test_class.type: byte[]
test_class.var_name: nullbytes
test_class.declarator: serde
test_class.original_string: SerializerDeserializer serde;
test_class.type: SerializerDeserializer
test_class.var_name: serde
test_class.file: tajo-storage/src/test/java/org/apache/tajo/storage/TestLazyTuple.java
test_class.identifier: TestLazyTuple
test_case.body: @Test
    public void testClone() throws CloneNotSupportedException {
      int colNum = schema.size();
      LazyTuple t1 = new LazyTuple(schema, new byte[colNum][], -1);
  
      t1.put(0, DatumFactory.createInt4(1));
      t1.put(1, DatumFactory.createInt4(2));
      t1.put(3, DatumFactory.createInt4(2));
      t1.put(4, DatumFactory.createText("str"));
  
      LazyTuple t2 = (LazyTuple) t1.clone();
      assertNotSame(t1, t2);
      assertEquals(t1, t2);
  
      assertSame(t1.get(4), t2.get(4));
  
      t1.clear();
      assertFalse(t1.equals(t2));
    }
test_case.class_method_signature: TestLazyTuple.testClone()
test_case.full_signature: @Test public void testClone()
test_case.identifier: testClone
test_case.invocations: size put createInt4 put createInt4 put createInt4 put createText clone assertNotSame assertEquals assertSame get get clear assertFalse equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testClone()
focal_class.declarator: offset
focal_class.modifier: private
focal_class.original_string: private long offset;
focal_class.type: long
focal_class.var_name: offset
focal_class.declarator: values
focal_class.modifier: private
focal_class.original_string: private Datum[] values;
focal_class.type: Datum[]
focal_class.var_name: values
focal_class.declarator: textBytes
focal_class.modifier: private
focal_class.original_string: private byte[][] textBytes;
focal_class.type: byte[][]
focal_class.var_name: textBytes
focal_class.declarator: schema
focal_class.modifier: private
focal_class.original_string: private Schema schema;
focal_class.type: Schema
focal_class.var_name: schema
focal_class.declarator: nullBytes
focal_class.modifier: private
focal_class.original_string: private byte[] nullBytes;
focal_class.type: byte[]
focal_class.var_name: nullBytes
focal_class.declarator: serializeDeserialize
focal_class.modifier: private
focal_class.original_string: private SerializerDeserializer serializeDeserialize;
focal_class.type: SerializerDeserializer
focal_class.var_name: serializeDeserialize
focal_class.file: tajo-storage/src/main/java/org/apache/tajo/storage/LazyTuple.java
focal_class.identifier: LazyTuple
focal_class.interfaces: implements Tuple, Cloneable
focal_class.class_method_signature: LazyTuple.LazyTuple(Schema schema, byte[][] textBytes, long offset)
focal_class.full_signature: public  LazyTuple(Schema schema, byte[][] textBytes, long offset)
focal_class.identifier: LazyTuple
focal_class.modifiers: public
focal_class.parameters: (Schema schema, byte[][] textBytes, long offset)
focal_class.signature:  LazyTuple(Schema schema, byte[][] textBytes, long offset)
focal_class.class_method_signature: LazyTuple.LazyTuple(Schema schema, byte[][] textBytes, long offset, byte[] nullBytes, SerializerDeserializer serde)
focal_class.full_signature: public  LazyTuple(Schema schema, byte[][] textBytes, long offset, byte[] nullBytes, SerializerDeserializer serde)
focal_class.identifier: LazyTuple
focal_class.modifiers: public
focal_class.parameters: (Schema schema, byte[][] textBytes, long offset, byte[] nullBytes, SerializerDeserializer serde)
focal_class.signature:  LazyTuple(Schema schema, byte[][] textBytes, long offset, byte[] nullBytes, SerializerDeserializer serde)
focal_class.class_method_signature: LazyTuple.LazyTuple(LazyTuple tuple)
focal_class.full_signature: public  LazyTuple(LazyTuple tuple)
focal_class.identifier: LazyTuple
focal_class.modifiers: public
focal_class.parameters: (LazyTuple tuple)
focal_class.signature:  LazyTuple(LazyTuple tuple)
focal_class.class_method_signature: LazyTuple.size()
focal_class.full_signature: @Override public int size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: LazyTuple.contains(int fieldid)
focal_class.full_signature: @Override public boolean contains(int fieldid)
focal_class.identifier: contains
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldid)
focal_class.return: boolean
focal_class.signature: boolean contains(int fieldid)
focal_class.class_method_signature: LazyTuple.isNull(int fieldid)
focal_class.full_signature: @Override public boolean isNull(int fieldid)
focal_class.identifier: isNull
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldid)
focal_class.return: boolean
focal_class.signature: boolean isNull(int fieldid)
focal_class.class_method_signature: LazyTuple.clear()
focal_class.full_signature: @Override public void clear()
focal_class.identifier: clear
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: LazyTuple.put(int fieldId, Datum value)
focal_class.full_signature: @Override public void put(int fieldId, Datum value)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId, Datum value)
focal_class.return: void
focal_class.signature: void put(int fieldId, Datum value)
focal_class.class_method_signature: LazyTuple.put(int fieldId, Datum[] values)
focal_class.full_signature: @Override public void put(int fieldId, Datum[] values)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId, Datum[] values)
focal_class.return: void
focal_class.signature: void put(int fieldId, Datum[] values)
focal_class.class_method_signature: LazyTuple.put(int fieldId, Tuple tuple)
focal_class.full_signature: @Override public void put(int fieldId, Tuple tuple)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId, Tuple tuple)
focal_class.return: void
focal_class.signature: void put(int fieldId, Tuple tuple)
focal_class.class_method_signature: LazyTuple.put(Datum[] values)
focal_class.full_signature: @Override public void put(Datum[] values)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (Datum[] values)
focal_class.return: void
focal_class.signature: void put(Datum[] values)
focal_class.class_method_signature: LazyTuple.get(int fieldId)
focal_class.full_signature: @Override public Datum get(int fieldId)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: Datum
focal_class.signature: Datum get(int fieldId)
focal_class.class_method_signature: LazyTuple.setOffset(long offset)
focal_class.full_signature: @Override public void setOffset(long offset)
focal_class.identifier: setOffset
focal_class.modifiers: @Override public
focal_class.parameters: (long offset)
focal_class.return: void
focal_class.signature: void setOffset(long offset)
focal_class.class_method_signature: LazyTuple.getOffset()
focal_class.full_signature: @Override public long getOffset()
focal_class.identifier: getOffset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getOffset()
focal_class.class_method_signature: LazyTuple.getBool(int fieldId)
focal_class.full_signature: @Override public boolean getBool(int fieldId)
focal_class.identifier: getBool
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: boolean
focal_class.signature: boolean getBool(int fieldId)
focal_class.class_method_signature: LazyTuple.getByte(int fieldId)
focal_class.full_signature: @Override public byte getByte(int fieldId)
focal_class.identifier: getByte
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: byte
focal_class.signature: byte getByte(int fieldId)
focal_class.class_method_signature: LazyTuple.getChar(int fieldId)
focal_class.full_signature: @Override public char getChar(int fieldId)
focal_class.identifier: getChar
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: char
focal_class.signature: char getChar(int fieldId)
focal_class.class_method_signature: LazyTuple.getBytes(int fieldId)
focal_class.full_signature: @Override public byte [] getBytes(int fieldId)
focal_class.identifier: getBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: byte []
focal_class.signature: byte [] getBytes(int fieldId)
focal_class.class_method_signature: LazyTuple.getInt2(int fieldId)
focal_class.full_signature: @Override public short getInt2(int fieldId)
focal_class.identifier: getInt2
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: short
focal_class.signature: short getInt2(int fieldId)
focal_class.class_method_signature: LazyTuple.getInt4(int fieldId)
focal_class.full_signature: @Override public int getInt4(int fieldId)
focal_class.identifier: getInt4
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: int
focal_class.signature: int getInt4(int fieldId)
focal_class.class_method_signature: LazyTuple.getInt8(int fieldId)
focal_class.full_signature: @Override public long getInt8(int fieldId)
focal_class.identifier: getInt8
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: long
focal_class.signature: long getInt8(int fieldId)
focal_class.class_method_signature: LazyTuple.getFloat4(int fieldId)
focal_class.full_signature: @Override public float getFloat4(int fieldId)
focal_class.identifier: getFloat4
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: float
focal_class.signature: float getFloat4(int fieldId)
focal_class.class_method_signature: LazyTuple.getFloat8(int fieldId)
focal_class.full_signature: @Override public double getFloat8(int fieldId)
focal_class.identifier: getFloat8
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: double
focal_class.signature: double getFloat8(int fieldId)
focal_class.class_method_signature: LazyTuple.getText(int fieldId)
focal_class.full_signature: @Override public String getText(int fieldId)
focal_class.identifier: getText
focal_class.modifiers: @Override public
focal_class.parameters: (int fieldId)
focal_class.return: String
focal_class.signature: String getText(int fieldId)
focal_class.class_method_signature: LazyTuple.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: LazyTuple.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: LazyTuple.getValues()
focal_class.full_signature: @Override public Datum[] getValues()
focal_class.identifier: getValues
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Datum[]
focal_class.signature: Datum[] getValues()
focal_class.class_method_signature: LazyTuple.clone()
focal_class.full_signature: @Override public Tuple clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Tuple
focal_class.signature: Tuple clone()
focal_class.class_method_signature: LazyTuple.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_method.body: @Override
    public Tuple clone() throws CloneNotSupportedException {
      LazyTuple lazyTuple = (LazyTuple) super.clone();
  
      lazyTuple.values = getValues(); //shallow copy
      lazyTuple.textBytes = new byte[size()][];
      return lazyTuple;
    }
focal_method.class_method_signature: LazyTuple.clone()
focal_method.full_signature: @Override public Tuple clone()
focal_method.identifier: clone
focal_method.invocations: clone getValues size
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Tuple
focal_method.signature: Tuple clone()