Uses of Interface
com.atlassian.query.operand.Operand
Package
Description
-
Uses of Operand in com.atlassian.jira.bc.issue.search
Modifier and TypeMethodDescriptionQueryCache.getValues
(QueryCreationContext context, Operand operand, TerminalClause jqlClause) Retrieve the list ofQueryLiteral
s registered for theQueryCreationContext
Operand
jqlClause triplet.QueryCacheImpl.getValues
(QueryCreationContext context, Operand operand, TerminalClause jqlClause) void
QueryCache.setValues
(QueryCreationContext context, Operand operand, TerminalClause jqlClause, List<QueryLiteral> values) Set the cached result of a getValues operation on the for theQueryCreationContext
Operand
jqlClause triplet.void
QueryCacheImpl.setValues
(QueryCreationContext context, Operand operand, TerminalClause jqlClause, List<QueryLiteral> values) -
Uses of Operand in com.atlassian.jira.issue.search.searchers.transformer
Modifier and TypeMethodDescriptionDefaultFieldFlagOperandRegistry.getOperandForFlag
(String fieldName, String flagValue) FieldFlagOperandRegistry.getOperandForFlag
(String fieldName, String flagValue) Retrieves the operand associated with a field and navigator flag value pair.Modifier and TypeMethodDescriptionDefaultFieldFlagOperandRegistry.getFlagForOperand
(String fieldName, Operand operand) FieldFlagOperandRegistry.getFlagForOperand
(String fieldName, Operand operand) Retrieves the navigator flag values associated with the field name and operand pair. -
Uses of Operand in com.atlassian.jira.issue.search.searchers.util
Modifier and TypeMethodDescriptionprotected Operand
DefaultIndexedInputHelper.createOperand
(String stringValue) Resolve this string representation of a navigator value (known not to be a field flag) into an operand to be used in a clause. -
Uses of Operand in com.atlassian.jira.jql.builder
Modifier and TypeMethodDescriptionJqlClauseBuilder.addCondition
(String clauseName, Operand operand) Add the JQL conditionclauseName = operand
to the query being built.JqlClauseBuilder.addCondition
(String clauseName, Operand... operands) Add the JQL conditionclauseName in (operands)
to the query being built.JqlClauseBuilder.addCondition
(String clauseName, Operator operator, Operand operand) Add the JQL conditionclauseName operator operand
to the query being built.JqlClauseBuilder.addCondition
(String clauseName, Operator operator, Operand... operands) Add the JQL conditionclauseName operator (operands)
to the query being built.JqlClauseBuilder.addRangeCondition
(String clauseName, Operand start, Operand end) Add a condition range condition to the current query for the passed values.Create the JQL condition with theequals operator
and the passed value.Create the JQL condition with thegreater than operator
and the passed value.Create the JQL condition with thegreater than equals operator
and the passed value.Create the JQL condition with thein operator
and the passed values.Create the JQL condition with thelike operator
and the passed value.Create the JQL condition with theless than operator
and the passed value.Create the JQL condition with theless than equals operator
and the passed value.Create the JQL condition with thenot equals operator
and the passed value.Create the JQL condition with thenot in operator
and the passed values.Create the JQL condition with thenot like operator
and the passed value.Finish the current condition such that it matches the passed operand.Finish the current condition such that it matches the passed operands.Add a condition range condition to the current query for the passed values.Modifier and TypeMethodDescriptionJqlClauseBuilder.addCondition
(String clauseName, Operator operator, Collection<? extends Operand> operands) Add the JQL conditionclauseName operator (operands)
to the query being built.JqlClauseBuilder.addCondition
(String clauseName, Collection<? extends Operand> operands) Add the JQL conditionclauseName in (operands)
to the query being built.ConditionBuilder.inOperands
(Collection<Operand> operands) Create the JQL condition with thein operator
and the passed values.ConditionBuilder.notInOperands
(Collection<Operand> operands) Create the JQL condition with thenot in operator
and the passed values.ValueBuilder.operands
(Collection<? extends Operand> operands) Finish the current condition such that it matches the passed operands. -
Uses of Operand in com.atlassian.jira.jql.operand
Modifier and TypeInterfaceDescriptioninterface
OperandHandler<T extends Operand>
Knows how to perform validation on and get expanded values fromOperand
s.Modifier and TypeMethodDescriptionPredicateOperandHandlerRegistry.getHandler
(ApplicationUser searcher, String field, Operand operand) DefaultJqlOperandResolver.getSingleValue
(ApplicationUser user, Operand operand, TerminalClause clause) JqlOperandResolver.getSingleValue
(ApplicationUser user, Operand operand, TerminalClause clause) Returns the single value contained within the passed operand.DefaultJqlOperandResolver.getValues
(QueryCreationContext queryCreationContext, Operand operand, TerminalClause terminalClause) DefaultJqlOperandResolver.getValues
(ApplicationUser searcher, Operand operand, TerminalClause terminalClause) DefaultPredicateOperandResolver.getValues
(ApplicationUser searcher, String field, Operand operand) JqlOperandResolver.getValues
(QueryCreationContext queryCreationContext, Operand operand, TerminalClause terminalClause) Return the values contained within the passed operand.JqlOperandResolver.getValues
(ApplicationUser searcher, Operand operand, TerminalClause terminalClause) Return the values contained within the passed operand.PredicateOperandResolver.getValues
(ApplicationUser searcher, String field, Operand operand) boolean
DefaultJqlOperandResolver.isEmptyOperand
(Operand operand) boolean
DefaultPredicateOperandResolver.isEmptyOperand
(ApplicationUser searcher, String field, Operand operand) boolean
JqlOperandResolver.isEmptyOperand
(Operand operand) Returns true if the operand represents an EMPTY operand.boolean
PredicateOperandResolver.isEmptyOperand
(ApplicationUser searcher, String field, Operand operand) Returns true if the operand represents an EMPTY operand.boolean
DefaultJqlOperandResolver.isFunctionOperand
(Operand operand) boolean
DefaultPredicateOperandResolver.isFunctionOperand
(ApplicationUser searcher, String field, Operand operand) boolean
JqlOperandResolver.isFunctionOperand
(Operand operand) Returns true if the passed operand is a function call.boolean
PredicateOperandResolver.isFunctionOperand
(ApplicationUser searcher, String field, Operand operand) Returns true if the passed operand is a function call.boolean
DefaultJqlOperandResolver.isListOperand
(Operand operand) boolean
DefaultPredicateOperandResolver.isListOperand
(ApplicationUser searcher, String field, Operand operand) boolean
JqlOperandResolver.isListOperand
(Operand operand) Returns true if the passed operand returns a list of values.boolean
PredicateOperandResolver.isListOperand
(ApplicationUser searcher, String field, Operand operand) Returns true if the passed operand returns a list of values.boolean
DefaultJqlOperandResolver.isValidOperand
(Operand operand) boolean
JqlOperandResolver.isValidOperand
(Operand operand) Returns true if the operand is one which is known about.DefaultJqlOperandResolver.validate
(ApplicationUser user, Operand operand, TerminalClause terminalClause) DefaultJqlOperandResolver.validate
(ApplicationUser searcher, Operand operand, WasClause clause) JqlOperandResolver.validate
(ApplicationUser user, Operand operand, TerminalClause terminalClause) Validates the operand against its handler.JqlOperandResolver.validate
(ApplicationUser searcher, Operand operand, WasClause clause) ModifierConstructorDescriptionQueryLiteral
(Operand sourceOperand) QueryLiteral
(Operand sourceOperand, Long longValue) QueryLiteral
(Operand sourceOperand, String stringValue) -
Uses of Operand in com.atlassian.jira.jql.parser.antlr
-
Uses of Operand in com.atlassian.jira.jql.permission
Modifier and TypeMethodDescriptionDefaultOperandSanitisingVisitor.visit
(EmptyOperand empty) DefaultOperandSanitisingVisitor.visit
(FunctionOperand function) DefaultOperandSanitisingVisitor.visit
(MultiValueOperand originalMulti) DefaultOperandSanitisingVisitor.visit
(SingleValueOperand singleValueOperand) -
Uses of Operand in com.atlassian.jira.jql.util
Modifier and TypeMethodDescriptionJqlCascadingSelectLiteralUtil.createQueryLiteralsFromOptions
(Operand sourceOperand, Collection<Option> positiveOptions, Collection<Option> negativeOptions) Given a list ofOption
s that should be in the result (positive) and a list ofOption
s that shouldn't (negative) creates a list ofQueryLiteral
s that represent the positive and negative options and be used for generating the query. -
Uses of Operand in com.atlassian.query.clause
Modifier and TypeMethodDescriptionTerminalClause.getOperand()
TerminalClauseImpl.getOperand()
WasClauseImpl.getOperand()
ModifierConstructorDescriptionTerminalClauseImpl
(String name, Operator operator, Operand operand) Creates a terminal clause with the specified name, operator and operand.TerminalClauseImpl
(String name, Operator operator, Operand operand, io.atlassian.fugue.Option<Property> property) Creates a terminal clause with the specified name, operator, operand and property.WasClauseImpl
(String field, Operator operator, Operand operand, HistoryPredicate predicate) -
Uses of Operand in com.atlassian.query.history
-
Uses of Operand in com.atlassian.query.operand
Modifier and TypeClassDescriptionclass
Used to represent a value that has not been set for a field.class
Represents a function in the query tree.final class
Used to represent a multiple constant values as an Operand.final class
Used to represent a single constant value as an Operand.Modifier and TypeMethodDescriptionstatic Operand
Operands.getEmpty()
Return an operand that represents the JQL EMPTY value.static Operand
Create an operand that represents a list of the passed operands.static Operand
Create an operand that represents the passed number.static Operand
Create an operands that represents a list of passed numbers.static Operand
Create an operand that represents the passed string.static Operand
Create an operands that represents a list of passed string values.static Operand
Operands.valueOfNumbers
(Collection<Long> values) Create an operands that represents a list of passed numbers.static Operand
Operands.valueOfOperands
(Collection<Operand> operands) Create an operand that represents a list of the passed operands.static Operand
Operands.valueOfStrings
(Collection<String> values) Create an operands that represents a list of passed string values.Modifier and TypeMethodDescriptionstatic Operand
Create an operand that represents a list of the passed operands.Modifier and TypeMethodDescriptionstatic Operand
Operands.valueOfOperands
(Collection<Operand> operands) Create an operand that represents a list of the passed operands.