Class BasePhysicalNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>

java.lang.Object
io.datarouter.storage.node.BaseNode<PK,D,F>
io.datarouter.storage.node.type.physical.base.BasePhysicalNode<PK,D,F>
All Implemented Interfaces:
Node<PK,D,F>, PhysicalNode<PK,D,F>, Comparable<Node<PK,D,F>>
Direct Known Subclasses:
DatabeanToBlobNode

public abstract class BasePhysicalNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>> extends BaseNode<PK,D,F> implements PhysicalNode<PK,D,F>
  • Constructor Details

  • Method Details

    • getName

      public final String getName()
      Specified by:
      getName in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getClientIds

      public List<ClientId> getClientIds()
      Specified by:
      getClientIds in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getClientId

      public ClientId getClientId()
      Specified by:
      getClientId in interface PhysicalNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • usesClient

      public boolean usesClient(String clientName)
      Specified by:
      usesClient in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getChildNodes

      public List<Node<PK,D,F>> getChildNodes()
      Specified by:
      getChildNodes in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getPhysicalNodes

      public List<? extends PhysicalNode<PK,D,F>> getPhysicalNodes()
      Specified by:
      getPhysicalNodes in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getPhysicalNodesForClient

      public List<PhysicalNode<PK,D,F>> getPhysicalNodesForClient(String clientName)
      Specified by:
      getPhysicalNodesForClient in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • toString

      public String toString()
      Overrides:
      toString in class BaseNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getClientType

      public ClientType<?,?> getClientType()
      Specified by:
      getClientType in interface PhysicalNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
    • getFieldInfo

      public PhysicalDatabeanFieldInfo<PK,D,F> getFieldInfo()
      Specified by:
      getFieldInfo in interface Node<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
      Specified by:
      getFieldInfo in interface PhysicalNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>
      Overrides:
      getFieldInfo in class BaseNode<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>>