Class EntityTool

java.lang.Object
io.datarouter.model.entity.EntityTool

public class EntityTool
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    EntityTool()  
  • Method Summary

    Modifier and Type Method Description
    static <EK extends EntityKey<EK>,​ E extends Entity<EK>>
    java.util.Map<EK,​E>
    getByKey​(java.util.Collection<E> entities)  
    static <EK extends EntityKey<EK>,​ PK extends EntityPrimaryKey<EK,​ PK>,​ D extends Databean<PK,​ D>>
    java.util.NavigableMap<EK,​java.util.List<D>>
    getDatabeansByEntityKey​(java.lang.Iterable<D> databeans)  
    static <EK extends EntityKey<EK>,​ PK extends EntityPrimaryKey<EK,​ PK>>
    java.util.NavigableMap<EK,​java.util.List<PK>>
    getPrimaryKeysByEntityKey​(java.lang.Iterable<PK> pks)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait