Class AbstractQuery

    • Constructor Detail

      • AbstractQuery

        protected AbstractQuery()
        Creates a new query object.
    • Method Detail

      • setMaxQueryTime

        @Deprecated
        public void setMaxQueryTime​(int maxQueryTimeSeconds)
        Deprecated.
        Description copied from interface: Query
        Specifies the maximum time that a query is allowed to run. The query will be interrupted when it exceeds the time limit. Any consecutive requests to fetch query results will result in QueryInterruptedExceptions.
        Specified by:
        setMaxQueryTime in interface Query
        Parameters:
        maxQueryTimeSeconds - The maximum query time, measured in seconds. A negative or zero value indicates an unlimited query time (which is the default).
      • getMaxQueryTime

        @Deprecated
        public int getMaxQueryTime()
        Deprecated.
        Description copied from interface: Query
        Returns the maximum query evaluation time.
        Specified by:
        getMaxQueryTime in interface Query
        Returns:
        The maximum query evaluation time, measured in seconds.
        See Also:
        Query.setMaxQueryTime(int)