Class BaseClientNodeFactory

java.lang.Object
io.datarouter.storage.client.imp.BaseClientNodeFactory
All Implemented Interfaces:
ClientNodeFactory

public abstract class BaseClientNodeFactory
extends Object
implements ClientNodeFactory
  • Constructor Summary

    Constructors 
    Constructor Description
    BaseClientNodeFactory()  
  • Method Summary

    Modifier and Type Method Description
    <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>>
    EntityNode<EK,​E>
    createEntityNode​(NodeFactory nodeFactory, EntityNodeParams<EK,​E> entityNodeParams, ClientId clientId)  
    <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>>
    PhysicalNode<PK,​D,​F>
    createWrappedNode​(EntityNodeParams<EK,​E> entityNodeParams, NodeParams<PK,​D,​F> nodeParams)  
    <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>>
    PhysicalNode<PK,​D,​F>
    createWrappedSubEntityNode​(EntityNodeParams<EK,​E> entityNodeParams, NodeParams<PK,​D,​F> nodeParams)  
    protected abstract <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>>
    WrappedNodeFactory<EK,​E,​PK,​D,​F,​?>
    makeWrappedNodeFactory()  
    protected <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>>
    WrappedSubEntityNodeFactory<EK,​E,​PK,​D,​F,​?>
    makeWrappedSubEntityNodeFactory()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createEntityNode

      public <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>> EntityNode<EK,​E> createEntityNode​(NodeFactory nodeFactory, EntityNodeParams<EK,​E> entityNodeParams, ClientId clientId)
      Specified by:
      createEntityNode in interface ClientNodeFactory
    • createWrappedNode

      public final <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>> PhysicalNode<PK,​D,​F> createWrappedNode​(EntityNodeParams<EK,​E> entityNodeParams, NodeParams<PK,​D,​F> nodeParams)
      Specified by:
      createWrappedNode in interface ClientNodeFactory
    • makeWrappedNodeFactory

      protected abstract <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>> WrappedNodeFactory<EK,​E,​PK,​D,​F,​?> makeWrappedNodeFactory()
    • createWrappedSubEntityNode

      public final <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>> PhysicalNode<PK,​D,​F> createWrappedSubEntityNode​(EntityNodeParams<EK,​E> entityNodeParams, NodeParams<PK,​D,​F> nodeParams)
      Specified by:
      createWrappedSubEntityNode in interface ClientNodeFactory
    • makeWrappedSubEntityNodeFactory

      protected <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>> WrappedSubEntityNodeFactory<EK,​E,​PK,​D,​F,​?> makeWrappedSubEntityNodeFactory()