Add index to entityVersion for all HotRod entities
This commit is contained in:
parent
1162952432
commit
00ccc78360
10 changed files with 11 additions and 0 deletions
|
@ -38,6 +38,7 @@ import java.util.Set;
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodRootAuthenticationSessionEntity extends AbstractHotRodEntity {
|
public class HotRodRootAuthenticationSessionEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ import java.util.stream.Stream;
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodClientEntity extends AbstractHotRodEntity {
|
public class HotRodClientEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ import java.util.Set;
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodClientScopeEntity extends AbstractHotRodEntity {
|
public class HotRodClientScopeEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,7 @@ public class HotRodGroupEntity extends AbstractHotRodEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ import org.keycloak.models.map.storage.hotRod.common.UpdatableHotRodEntityDelega
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodUserLoginFailureEntity extends AbstractHotRodEntity {
|
public class HotRodUserLoginFailureEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,8 @@ import java.util.stream.Collectors;
|
||||||
)
|
)
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodRealmEntity extends AbstractHotRodEntity {
|
public class HotRodRealmEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,7 @@ public class HotRodRoleEntity extends AbstractHotRodEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ public class HotRodUserEntity extends AbstractHotRodEntity {
|
||||||
@IgnoreForEntityImplementationGenerator
|
@IgnoreForEntityImplementationGenerator
|
||||||
private static final Logger LOG = Logger.getLogger(HotRodUserEntity.class);
|
private static final Logger LOG = Logger.getLogger(HotRodUserEntity.class);
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ import java.util.Set;
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodAuthenticatedClientSessionEntity extends AbstractHotRodEntity {
|
public class HotRodAuthenticatedClientSessionEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ import java.util.Set;
|
||||||
@ProtoDoc("@Indexed")
|
@ProtoDoc("@Indexed")
|
||||||
public class HotRodUserSessionEntity extends AbstractHotRodEntity {
|
public class HotRodUserSessionEntity extends AbstractHotRodEntity {
|
||||||
|
|
||||||
|
@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
|
||||||
@ProtoField(number = 1, required = true)
|
@ProtoField(number = 1, required = true)
|
||||||
public int entityVersion = 1;
|
public int entityVersion = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue