Interface QueryController

  • All Known Implementing Classes:
    QueryContext

    public interface QueryController
    • Method Detail

      • getQueryId

        java.lang.String getQueryId()
      • getBlockId

        long getBlockId​(long time)
        Returns which block the time belongs to. Generally, will be some multiple of the block window on top of the start time. There is one special case that we accommodate: seed values. Those belong to a block BEFORE the start time. For that reason, we calculate everything off of the start time, and not the block end.
      • getBlockSize

        long getBlockSize()
        Returns the size of the blocks in milliseconds. Will be 0 if the results should be raw data.
        Returns:
        time in milliseconds covered by each block.
      • getQueryStart

        long getQueryStart()
      • getQueryEnd

        long getQueryEnd()