Interface UpdatableNodeTripleProvider

All Superinterfaces:
NodeTripleProvider

public interface UpdatableNodeTripleProvider extends NodeTripleProvider
Node triple provider with an additional update method.
Author:
Martin Horn, University of Konstanz
  • Method Details

    • update

      void update() throws Exception
      Called when the node triple provide should update (e.g. download) the source the triple information is read from (e.g. a file).
      Throws:
      Exception - exception if something went wrong with the update
    • updateRequired

      boolean updateRequired()
      Tells whether an update is required before the NodeTripleProvider can be used. If it returns false this NodeTripleProvider will not be enabled (see NodeTripleProvider.isEnabled()).
      Returns:
      true if a update is required before the node triple provider can be used