Class BaseDatabeanNodeFactory

java.lang.Object
io.datarouter.storage.node.factory.BaseNodeFactory
io.datarouter.storage.node.factory.BaseDatabeanNodeFactory
Direct Known Subclasses:
NodeFactory, SettinglessDatabeanNodeFactory

public abstract class BaseDatabeanNodeFactory extends BaseNodeFactory
  • Field Summary

    Fields inherited from class io.datarouter.storage.node.factory.BaseNodeFactory

    clients, datarouter, injector
  • Constructor Summary

    Constructors
    Constructor
    Description
    BaseDatabeanNodeFactory(Supplier<Boolean> enableDiagnosticsSupplier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <PK extends io.datarouter.model.key.primary.RegularPrimaryKey<PK>, D extends io.datarouter.model.databean.Databean<PK, D>, F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK, D>>
    NodeBuilder<PK,PK,D,F>
    create(ClientId clientId, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)
     
    <EK extends io.datarouter.model.key.entity.EntityKey<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>>
    NodeBuilder<EK,PK,D,F>
    create(ClientId clientId, Supplier<EK> entityKeySupplier, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)
     
    <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>, N extends PhysicalNode<PK, D, F>>
    N
    create(EntityNodeParams<EK,E> entityNodeParams, NodeParams<PK,D,F> params)
     
    <EK extends io.datarouter.model.key.entity.EntityKey<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>, N extends PhysicalNode<PK, D, F>>
    N
    register(N node)
     

    Methods inherited from class io.datarouter.storage.node.factory.BaseNodeFactory

    cast, getClientNodeFactory

    Methods inherited from class java.lang.Object

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

    • BaseDatabeanNodeFactory

      public BaseDatabeanNodeFactory(Supplier<Boolean> enableDiagnosticsSupplier)
  • Method Details

    • create

      public <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>, N extends PhysicalNode<PK, D, F>> N create(EntityNodeParams<EK,E> entityNodeParams, NodeParams<PK,D,F> params)
    • create

      public <EK extends io.datarouter.model.key.entity.EntityKey<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>> NodeBuilder<EK,PK,D,F> create(ClientId clientId, Supplier<EK> entityKeySupplier, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)
    • create

      public <PK extends io.datarouter.model.key.primary.RegularPrimaryKey<PK>, D extends io.datarouter.model.databean.Databean<PK, D>, F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK, D>> NodeBuilder<PK,PK,D,F> create(ClientId clientId, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)
    • register

      public <EK extends io.datarouter.model.key.entity.EntityKey<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>, N extends PhysicalNode<PK, D, F>> N register(N node)