Class BaseHBaseClientNodeFactory

java.lang.Object
io.datarouter.storage.client.imp.BaseClientNodeFactory
io.datarouter.client.hbase.BaseHBaseClientNodeFactory
All Implemented Interfaces:
io.datarouter.storage.client.ClientNodeFactory
Direct Known Subclasses:
HBaseClientNodeFactory

public abstract class BaseHBaseClientNodeFactory
extends io.datarouter.storage.client.imp.BaseClientNodeFactory
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    class  BaseHBaseClientNodeFactory.HBaseWrappedNodeFactory<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>>  
    class  BaseHBaseClientNodeFactory.HBaseWrappedSubEntityNodeFactory<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>>  
  • Constructor Summary

    Constructors 
    Constructor Description
    BaseHBaseClientNodeFactory​(io.datarouter.storage.client.ClientType<?,​?> clientType, io.datarouter.storage.node.adapter.availability.PhysicalSortedMapStorageAvailabilityAdapterFactory physicalSortedMapStorageAvailabilityAdapterFactory, io.datarouter.storage.node.adapter.availability.PhysicalSubEntitySortedMapStorageAvailabilityAdapterFactory physicalSubEntitySortedMapStorageAvailabilityAdapterFactory, CountingBatchCallbackFactory countingBatchCallbackFactory, HBaseClientManager hBaseClientManager, DatarouterHBaseExecutors.DatarouterHbaseClientExecutor datarouterHbaseClientExecutor)  
  • Method Summary

    Modifier and Type Method Description
    <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>>
    io.datarouter.storage.node.entity.EntityNode<EK,​E>
    createEntityNode​(io.datarouter.storage.node.factory.NodeFactory nodeFactory, io.datarouter.storage.node.entity.EntityNodeParams<EK,​E> entityNodeParams, io.datarouter.storage.client.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>>
    io.datarouter.storage.client.imp.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>>
    io.datarouter.storage.client.imp.WrappedSubEntityNodeFactory<EK,​E,​PK,​D,​F,​?>
    makeWrappedSubEntityNodeFactory()  

    Methods inherited from class io.datarouter.storage.client.imp.BaseClientNodeFactory

    createWrappedNode, createWrappedSubEntityNode

    Methods inherited from class java.lang.Object

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

    • BaseHBaseClientNodeFactory

      public BaseHBaseClientNodeFactory​(io.datarouter.storage.client.ClientType<?,​?> clientType, io.datarouter.storage.node.adapter.availability.PhysicalSortedMapStorageAvailabilityAdapterFactory physicalSortedMapStorageAvailabilityAdapterFactory, io.datarouter.storage.node.adapter.availability.PhysicalSubEntitySortedMapStorageAvailabilityAdapterFactory physicalSubEntitySortedMapStorageAvailabilityAdapterFactory, CountingBatchCallbackFactory countingBatchCallbackFactory, HBaseClientManager hBaseClientManager, DatarouterHBaseExecutors.DatarouterHbaseClientExecutor datarouterHbaseClientExecutor)
  • Method Details

    • makeWrappedNodeFactory

      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>> io.datarouter.storage.client.imp.WrappedNodeFactory<EK,​E,​PK,​D,​F,​?> makeWrappedNodeFactory()
      Specified by:
      makeWrappedNodeFactory in class io.datarouter.storage.client.imp.BaseClientNodeFactory
    • 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>> io.datarouter.storage.client.imp.WrappedSubEntityNodeFactory<EK,​E,​PK,​D,​F,​?> makeWrappedSubEntityNodeFactory()
      Overrides:
      makeWrappedSubEntityNodeFactory in class io.datarouter.storage.client.imp.BaseClientNodeFactory
    • createEntityNode

      public <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>> io.datarouter.storage.node.entity.EntityNode<EK,​E> createEntityNode​(io.datarouter.storage.node.factory.NodeFactory nodeFactory, io.datarouter.storage.node.entity.EntityNodeParams<EK,​E> entityNodeParams, io.datarouter.storage.client.ClientId clientId)
      Specified by:
      createEntityNode in interface io.datarouter.storage.client.ClientNodeFactory
      Overrides:
      createEntityNode in class io.datarouter.storage.client.imp.BaseClientNodeFactory