@Test public void testClone() throws Exception { @SuppressWarnings("unchecked") MemStore<String, Employee> store = DataStoreFactory.getDataStore( MemStore.class, String.class, Employee.class, new Configuration()); Employee employee = DataStoreTestUtil.createEmployee(); assertEquals(employee, Employee.newBuilder(employee).build()); }
@Override public abstract Persistent clone();
PersistentBase extends SpecificRecordBase implements
        Persistent { @Override public abstract Persistent clone(); }
PersistentBase extends SpecificRecordBase implements
        Persistent { @Override public abstract Persistent clone(); PersistentBase(); }
PersistentBase extends SpecificRecordBase implements
        Persistent { @Override public abstract Persistent clone(); PersistentBase(); abstract int getFieldsCount(); @Override void clearDirty(); @Override void clearDirty(int fieldIndex); @Override void clearDirty(String field); @Override boolean isDirty(); @Override boolean isDirty(int fieldIndex); @Override boolean isDirty(String fieldName); @Override void setDirty(); @Override void setDirty(int fieldIndex); @Override void setDirty(String field); ByteBuffer getDirtyBytes(); void setDirtyBytes(ByteBuffer __g__dirty); @Override void clear(); @Override boolean equals(Object that); @Override List<Field> getUnmanagedFields(); @Override abstract Persistent clone(); }
PersistentBase extends SpecificRecordBase implements
        Persistent { @Override public abstract Persistent clone(); PersistentBase(); abstract int getFieldsCount(); @Override void clearDirty(); @Override void clearDirty(int fieldIndex); @Override void clearDirty(String field); @Override boolean isDirty(); @Override boolean isDirty(int fieldIndex); @Override boolean isDirty(String fieldName); @Override void setDirty(); @Override void setDirty(int fieldIndex); @Override void setDirty(String field); ByteBuffer getDirtyBytes(); void setDirtyBytes(ByteBuffer __g__dirty); @Override void clear(); @Override boolean equals(Object that); @Override List<Field> getUnmanagedFields(); @Override abstract Persistent clone();  }