@ExperimentalApi public class

DbQueryCapabilityVisitor

extends Object
implements ClauseVisitor<R>
java.lang.Object
   ↳ com.atlassian.jira.jql.query.DbQueryCapabilityVisitor

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

Used to determine if all the clauses in a Query can be processed by a search against the database. This is an interim capability during until all searching is fully supported using only the database.

Summary

Public Constructors
DbQueryCapabilityVisitor(QueryCreationContext queryCreationContext, SearchHandlerManager searchHandlerManager)
Public Methods
@Nonnull Boolean visit(OrClause orClause)
Visit called when accepting a OrClause.
@Nonnull Boolean visit(NotClause notClause)
Visit called when accepting a NotClause.
@Nonnull Boolean visit(AndClause andClause)
Visit called when accepting a AndClause.
@Nonnull Boolean visit(TerminalClause terminalClause)
Visit called when accepting a TerminalClause.
@Nonnull Boolean visit(ChangedClause clause)
Visit called when accepting a ChangedClause.
@Nonnull Boolean visit(WasClause clause)
Visit called when accepting a WasClause.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.query.clause.ClauseVisitor

Public Constructors

public DbQueryCapabilityVisitor (QueryCreationContext queryCreationContext, SearchHandlerManager searchHandlerManager)

Public Methods

@Nonnull public Boolean visit (OrClause orClause)

Visit called when accepting a OrClause.

Parameters
orClause the node being visited.
Returns
  • The return type specified by the visitor.

@Nonnull public Boolean visit (NotClause notClause)

Visit called when accepting a NotClause.

Parameters
notClause the node being visited.
Returns
  • The return type specified by the visitor.

@Nonnull public Boolean visit (AndClause andClause)

Visit called when accepting a AndClause.

Parameters
andClause the node being visited.
Returns
  • The return type specified by the visitor.

@Nonnull public Boolean visit (TerminalClause terminalClause)

Visit called when accepting a TerminalClause.

Parameters
terminalClause the node being visited.
Returns
  • The return type specified by the visitor.

@Nonnull public Boolean visit (ChangedClause clause)

Visit called when accepting a ChangedClause.

Parameters
clause the node being visited.
Returns
  • The return type specified by the visitor.

@Nonnull public Boolean visit (WasClause clause)

Visit called when accepting a WasClause.

Parameters
clause the node being visited.
Returns
  • The return type specified by the visitor.