class CacheDataRowStore extends RowStore {
    /** Whether version should be skipped. */
    private static final ThreadLocal<Boolean> SKIP_VER = ThreadLocal.withInitial(() -> false);

    /**
     * @return Skip version flag.
     */
    public static boolean getSkipVersion() {
        return SKIP_VER.get();
    }

    /**
     * @param skipVer Skip version flag.
     */
    public static void setSkipVersion(boolean skipVer) {
        SKIP_VER.set(skipVer);
    }

    /** */
    private final int partId;

    /**
     * @param grp Cache group.
     * @param freeList Free list.
     * @param partId Partition number.
     */
    public CacheDataRowStore(CacheGroupContext grp, FreeList freeList, int partId) {
        super(grp, freeList);

        this.partId = partId;
    }

    /**
     * @return Partition Id.
     */
    public int getPartitionId() {
        return partId;
    }

    /**
     * @param cacheId Cache ID.
     * @param hash Hash code.
     * @param link Link.
     * @return Search row.
     */
    protected CacheSearchRow keySearchRow(int cacheId, int hash, long link) {
        return dataRow(cacheId, hash, link, CacheDataRowAdapter.RowData.KEY_ONLY);
    }

    /**
     * @param cacheId Cache ID.
     * @param hash Hash code.
     * @param link Link.
     * @param rowData Required row data.
     * @return Data row.
     */
    protected CacheDataRow dataRow(int cacheId, int hash, long link, CacheDataRowAdapter.RowData rowData) {<FILL_FUNCTION_BODY>}

    /**
     * @param dataRow Data row.
     * @param cacheId Cache ID.
     */
    private <T extends DataRow> T initDataRow(T dataRow, int cacheId) {
        if (dataRow.cacheId() == CU.UNDEFINED_CACHE_ID && grp.sharedGroup())
            dataRow.cacheId(cacheId);

        return dataRow;
    }
}

        DataRow dataRow = new DataRow(
            grp,
            hash,
            link,
            partId,
            rowData,
            SKIP_VER.get()
        );

        return initDataRow(dataRow, cacheId);
    
<methods>public void <init>(org.apache.ignite.internal.processors.cache.CacheGroupContext, FreeList#RAW) ,public void addRow(org.apache.ignite.internal.processors.cache.persistence.CacheDataRow, org.apache.ignite.internal.metric.IoStatisticsHolder) throws org.apache.ignite.IgniteCheckedException,public void addRows(Collection<? extends org.apache.ignite.internal.processors.cache.persistence.CacheDataRow>, org.apache.ignite.internal.metric.IoStatisticsHolder) throws org.apache.ignite.IgniteCheckedException,public FreeList#RAW freeList() ,public void removeRow(long, org.apache.ignite.internal.metric.IoStatisticsHolder) throws org.apache.ignite.IgniteCheckedException,public void setRowCacheCleaner(Supplier<org.apache.ignite.internal.processors.query.GridQueryRowCacheCleaner>) ,public void updateDataRow(long, PageHandler<S,R>, S, org.apache.ignite.internal.metric.IoStatisticsHolder) throws org.apache.ignite.IgniteCheckedException,public boolean updateRow(long, org.apache.ignite.internal.processors.cache.persistence.CacheDataRow, org.apache.ignite.internal.metric.IoStatisticsHolder) throws org.apache.ignite.IgniteCheckedException<variables>protected final non-sealed org.apache.ignite.internal.processors.cache.CacheObjectContext coctx,private final non-sealed GridCacheSharedContext#RAW ctx,private final non-sealed FreeList#RAW freeList,protected final non-sealed org.apache.ignite.internal.processors.cache.CacheGroupContext grp,protected final non-sealed org.apache.ignite.internal.pagemem.PageMemory pageMem,private final non-sealed boolean persistenceEnabled,private volatile Supplier<org.apache.ignite.internal.processors.query.GridQueryRowCacheCleaner> rowCacheCleaner