Class DummyExplainResult


  • public class DummyExplainResult
    extends ExplainResult
    Subclass of ExplainResult not associated with a database. The amount of time this query will take is the number of tables plus the number of constraints in milliseconds.
    Author:
    Andrew Varley
    • Constructor Detail

      • DummyExplainResult

        public DummyExplainResult​(Query q)
        Constructs an instance of PostgresExplainResult without any data.
        Parameters:
        q - the Query to explain
    • Method Detail

      • getTime

        public long getTime()
        Returns an estimate of the time it will take to complete the query. This is the number of tables plus the number of constraints in milliseconds.
        Overrides:
        getTime in class ExplainResult
        Returns:
        estimate of time in milliseconds