Class StorageNodeBase<D,C,V>

java.lang.Object
org.aksw.commons.index.core.StorageNodeBase<D,C,V>
Type Parameters:
D -
C -
V -
All Implemented Interfaces:
StorageNode<D,C,V>
Direct Known Subclasses:
StorageNodeAltBase, StorageNodeCompoundBase, StorageNodeInnerMap, StorageNodeLeafComponentSet, StorageNodeLeafDomainList, StorageNodeLeafDomainSet, StorageNodeLeafMap

public abstract class StorageNodeBase<D,C,V> extends Object implements StorageNode<D,C,V>
Author:
Claus Stadler 11/09/2020
  • Field Details

    • tupleIdxs

      protected int[] tupleIdxs
    • tupleAccessor

      protected TupleBridge<D,C> tupleAccessor
  • Constructor Details

    • StorageNodeBase

      public StorageNodeBase(int[] tupleIdxs, TupleBridge<D,C> tupleAccessor)
  • Method Details

    • getKeyTupleIdxs

      public int[] getKeyTupleIdxs()
      Description copied from interface: StorageNode
      The component indexes by which this node indexes May be empty but never null
      Specified by:
      getKeyTupleIdxs in interface StorageNode<D,C,V>
      Returns:
    • getTupleAccessor

      public TupleBridge<D,C> getTupleAccessor()
      Description copied from interface: StorageNode
      Future: Allow the storageNode to answer how efficiently it can answer the constraints in a given constraint list E.g. O(1) or O(log(n)) or O(n)
      Specified by:
      getTupleAccessor in interface StorageNode<D,C,V>
      Returns: