Class AbstractQueryAdapter

java.lang.Object
com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
com.inductiveautomation.factorypmi.application.binding.AbstractQueryAdapter
All Implemented Interfaces:
Adapter, Adapter.ValueHolder, PropertyAdapter
Direct Known Subclasses:
ExtensibleBinding, NamedQueryAdapter, SQLPropertyAdapter, TagHistoryAdapter

public abstract class AbstractQueryAdapter extends AbstractPropertyAdapter
  • Constructor Details

    • AbstractQueryAdapter

      public AbstractQueryAdapter()
  • Method Details

    • startupQuery

      protected void startupQuery()
    • registerQuery

      protected abstract Object registerQuery(int updateRate, boolean runOnce)
    • shutdownQuery

      protected void shutdownQuery()
    • restartQuery

      protected void restartQuery()
    • setQValue

      public void setQValue(QualifiedValue value)
      Description copied from class: AbstractPropertyAdapter
      Sets this adapter's value. Doesn't push the value to the target or update the quality if the target is a quality monitor. For that, use updateValue()
      Specified by:
      setQValue in interface Adapter.ValueHolder
      Overrides:
      setQValue in class AbstractPropertyAdapter
    • getPollingMode

      public int getPollingMode()
    • setPollingMode

      public void setPollingMode(int i)
    • getUpdateRate

      public int getUpdateRate()
    • setUpdateRate

      public void setUpdateRate(int i)
    • isSerializableDataset

      public boolean isSerializableDataset()
    • setSerializableDataset

      public void setSerializableDataset(boolean serializableDataset)
    • getPollingConfig

      protected PollingConfig getPollingConfig()