tech.ydb.yoj.repository.db.projection.RoProjectionCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoj-repository Show documentation
Show all versions of yoj-repository Show documentation
Core YOJ (YDB ORM for Java) abstractions and APIs for domain entities, repositories, transactions etc.
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) {
}
}