Package io.datarouter.client.hbase
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 classBaseHBaseClientNodeFactory.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>>classBaseHBaseClientNodeFactory.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()
-
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:
makeWrappedNodeFactoryin classio.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:
makeWrappedSubEntityNodeFactoryin classio.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:
createEntityNodein interfaceio.datarouter.storage.client.ClientNodeFactory- Overrides:
createEntityNodein classio.datarouter.storage.client.imp.BaseClientNodeFactory
-