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>>
- All Superinterfaces:
Comparable<Node<PK,D,F>>,Node<PK,D,F>
- All Known Subinterfaces:
BlobStorage.PhysicalBlobStorageNode<PK,D,F>,GroupQueueStorage.PhysicalGroupQueueStorageNode<PK,D,F>,IndexedMapStorage.PhysicalIndexedMapStorageNode<PK,D,F>,IndexedMapStorageReader.PhysicalIndexedMapStorageReaderNode<PK,D,F>,IndexedMapStorageWriter.PhysicalIndexedMapStorageWriterNode<PK,D,F>,IndexedSortedMapStorage.PhysicalIndexedSortedMapStorageNode<PK,D,F>,IndexedSortedMapStorageReader.PhysicalIndexedSortedMapStorageReaderNode<PK,D,F>,IndexedSortedMapStorageWriter.PhysicalIndexedSortedMapStorageWriterNode<PK,D,F>,IndexedStorage.PhysicalIndexedStorageNode<PK,D,F>,IndexedStorageReader.PhysicalIndexedStorageReaderNode<PK,D,F>,IndexedStorageWriter.PhysicalIndexedStorageWriterNode<PK,D,F>,MapStorage.PhysicalMapStorageNode<PK,D,F>,MapStorageReader.PhysicalMapStorageReaderNode<PK,D,F>,MapStorageWriter.PhysicalMapStorageWriterNode<PK,D,F>,PhysicalAdapterMixin<PK,D,F,N>,PhysicalSubEntitySortedMapStorageNode<EK,PK,D,F>,QueueStorage.PhysicalQueueStorageNode<PK,D,F>,QueueStorageWriter.PhysicalQueueStorageWriterNode<PK,D,F>,SortedMapStorage.PhysicalSortedMapStorageNode<PK,D,F>,SortedMapStorageReader.PhysicalSortedMapStorageReaderNode<PK,D,F>,SortedMapStorageWriter.PhysicalSortedMapStorageWriterNode<PK,D,F>,SortedStorage.PhysicalSortedStorageNode<PK,D,F>,SortedStorageReader.PhysicalSortedStorageReaderNode<PK,D,F>,SortedStorageWriter.PhysicalSortedStorageWriterNode<PK,D,F>,StreamStorage.PhysicalStreamStorageNode<PK,D,F>,TallyStorage.PhysicalTallyStorageNode<PK,D,F>,TallyStorageReader.PhysicalTallyStorageReaderNode<PK,D,F>,TallyStorageWriter.PhysicalTallyStorageWriterNode<PK,D,F>
- All Known Implementing Classes:
BasePhysicalNode,PhysicalGroupQueueStorageCounterAdapter,PhysicalGroupQueueStorageSanitizationAdapter,PhysicalGroupQueueStorageTraceAdapter,PhysicalIndexedSortedMapStorageAvailabilityAdapterFactory.PhysicalIndexedSortedMapStorageAvailabilityAdapter,PhysicalIndexedSortedMapStorageCallsiteAdapter,PhysicalIndexedSortedMapStorageCounterAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageSanitizationAdapter,PhysicalIndexedSortedMapStorageTraceAdapter,PhysicalMapStorageAvailabilityAdapterFactory.PhysicalMapStorageAvailabilityAdapter,PhysicalMapStorageCallsiteAdapter,PhysicalMapStorageCounterAdapter,PhysicalMapStorageReaderCallsiteAdapter,PhysicalMapStorageReaderCounterAdapter,PhysicalMapStorageReaderSanitizationAdapter,PhysicalMapStorageReaderTraceAdapter,PhysicalMapStorageSanitizationAdapter,PhysicalMapStorageTraceAdapter,PhysicalQueueStorageCounterAdapter,PhysicalQueueStorageSanitizationAdapter,PhysicalQueueStorageTraceAdapter,PhysicalSortedMapStorageAvailabilityAdapterFactory.PhysicalSortedMapStorageAvailabilityAdapter,PhysicalSortedMapStorageCallsiteAdapter,PhysicalSortedMapStorageCounterAdapter,PhysicalSortedMapStorageSanitizationAdapter,PhysicalSortedMapStorageTraceAdapter,PhysicalSubEntitySortedMapStorageAvailabilityAdapterFactory.PhysicalSubEntitySortedMapStorageAvailabilityAdapter,PhysicalSubEntitySortedMapStorageCallsiteAdapter,PhysicalSubEntitySortedMapStorageCounterAdapter,PhysicalSubEntitySortedMapStorageSanitizationAdapter,PhysicalSubEntitySortedMapStorageTraceAdapter,PhysicalTallyStorageCounterAdapter,PhysicalTallyStorageSanitizationAdapter,PhysicalTallyStorageTraceAdapter
public 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>> extends Node<PK,D,F>
A PhysicalNode is a node backed by a specific location like a database table, a memcached namespace, an in-memory
collection, or a remote API endpoint. It is therefore tied to a specific Client, and a table accessible through that
Client. By default, Datarouter will name the backing database table after the Databean it stores, but a PhysicalNode
can override the table name via getTableName().
-
Method Summary
Modifier and Type Method Description ClientIdgetClientId()ClientType<?,?>getClientType()PhysicalDatabeanFieldInfo<PK,D,F>getFieldInfo()Methods inherited from interface io.datarouter.storage.node.Node
getChildNodes, getClientIds, getName, getPhysicalNodes, getPhysicalNodesForClient, usesClient
-
Method Details
-
getClientType
ClientType<?,?> getClientType() -
getClientId
ClientId getClientId() -
getFieldInfo
PhysicalDatabeanFieldInfo<PK,D,F> getFieldInfo()
-