All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.ydb.yoj.repository.db.projection.RoProjectionCache Maven / Gradle / Ivy

Go to download

Core YOJ (YDB ORM for Java) abstractions and APIs for domain entities, repositories, transactions etc.

There is a newer version: 2.6.1
Show newest version
package tech.ydb.yoj.repository.db.projection;

import tech.ydb.yoj.repository.db.Entity;
import tech.ydb.yoj.repository.db.RepositoryTransaction;

public class RoProjectionCache implements ProjectionCache {
    @Override
    public void load(Entity entity) {
    }

    @Override
    public void save(Entity entity) {
        throw new UnsupportedOperationException("Should not be invoked in RO");
    }

    @Override
    public void delete(Entity.Id id) {
        throw new UnsupportedOperationException("Should not be invoked in RO");
    }

    @Override
    public void applyProjectionChanges(RepositoryTransaction transaction) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy