Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
QueryCache.getValues(QueryCreationContext context,
Operand operand,
TerminalClause jqlClause)
Retrieve the list of
QueryLiteral s registered
for the QueryCreationContext Operand jqlClause triplet. |
List<QueryLiteral> |
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 the
QueryCreationContext Operand jqlClause triplet. |
void |
QueryCacheImpl.setValues(QueryCreationContext context,
Operand operand,
TerminalClause jqlClause,
List<QueryLiteral> values) |
Modifier and Type | Method and Description |
---|---|
Operand |
DefaultFieldFlagOperandRegistry.getOperandForFlag(String fieldName,
String flagValue) |
Operand |
FieldFlagOperandRegistry.getOperandForFlag(String fieldName,
String flagValue)
Retrieves the operand associated with a field and navigator flag value pair.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
DefaultFieldFlagOperandRegistry.getFlagForOperand(String fieldName,
Operand operand) |
Set<String> |
FieldFlagOperandRegistry.getFlagForOperand(String fieldName,
Operand operand)
Retrieves the navigator flag values associated with the field name and operand pair.
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
JqlClauseBuilder |
JqlClauseBuilder.addCondition(String clauseName,
Operand... operands)
Add the JQL condition
clauseName in (operands) to the query being built. |
JqlClauseBuilder |
JqlClauseBuilder.addCondition(String clauseName,
Operand operand)
Add the JQL condition
clauseName = operand to the query being built. |
JqlClauseBuilder |
JqlClauseBuilder.addCondition(String clauseName,
Operator operator,
Operand... operands)
Add the JQL condition
clauseName operator (operands) to the query being built. |
JqlClauseBuilder |
JqlClauseBuilder.addCondition(String clauseName,
Operator operator,
Operand operand)
Add the JQL condition
clauseName operator operand to the query being built. |
JqlClauseBuilder |
JqlClauseBuilder.addRangeCondition(String clauseName,
Operand start,
Operand end)
Add a condition range condition to the current query for the passed values.
|
JqlClauseBuilder |
ConditionBuilder.eq(Operand operand)
Create the JQL condition with the
equals operator and the
passed value. |
JqlClauseBuilder |
ConditionBuilder.gt(Operand operand)
Create the JQL condition with the
greater than
operator and the passed value. |
JqlClauseBuilder |
ConditionBuilder.gtEq(Operand operand)
Create the JQL condition with the
greater than
equals operator and the passed value. |
JqlClauseBuilder |
ConditionBuilder.in(Operand... operands)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
ConditionBuilder.like(Operand operand)
Create the JQL condition with the
like operator and the passed
value. |
JqlClauseBuilder |
ConditionBuilder.lt(Operand operand)
Create the JQL condition with the
less than operator and
the passed value. |
JqlClauseBuilder |
ConditionBuilder.ltEq(Operand operand)
Create the JQL condition with the
less than equals
operator and the passed value. |
JqlClauseBuilder |
ConditionBuilder.notEq(Operand operand)
Create the JQL condition with the
not equals operator
and the passed value. |
JqlClauseBuilder |
ConditionBuilder.notIn(Operand... operands)
Create the JQL condition with the
not in operator and the
passed values. |
JqlClauseBuilder |
ConditionBuilder.notLike(Operand operand)
Create the JQL condition with the
not like operator and
the passed value. |
JqlClauseBuilder |
ValueBuilder.operand(Operand operand)
Finish the current condition such that it matches the passed operand.
|
JqlClauseBuilder |
ValueBuilder.operands(Operand... operands)
Finish the current condition such that it matches the passed operands.
|
JqlClauseBuilder |
ConditionBuilder.range(Operand start,
Operand end)
Add a condition range condition to the current query for the passed values.
|
Modifier and Type | Method and Description |
---|---|
JqlClauseBuilder |
JqlClauseBuilder.addCondition(String clauseName,
Collection<? extends Operand> operands)
Add the JQL condition
clauseName in (operands) to the query being built. |
JqlClauseBuilder |
JqlClauseBuilder.addCondition(String clauseName,
Operator operator,
Collection<? extends Operand> operands)
Add the JQL condition
clauseName operator (operands) to the query being built. |
JqlClauseBuilder |
ConditionBuilder.inOperands(Collection<Operand> operands)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
ConditionBuilder.notInOperands(Collection<Operand> operands)
Create the JQL condition with the
not in operator and the passed
values. |
JqlClauseBuilder |
ValueBuilder.operands(Collection<? extends Operand> operands)
Finish the current condition such that it matches the passed operands.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OperandHandler<T extends Operand>
Knows how to perform validation on and get expanded values from
Operand s. |
Modifier and Type | Method and Description |
---|---|
Operand |
QueryLiteral.getSourceOperand() |
Modifier and Type | Method and Description |
---|---|
PredicateOperandHandler |
PredicateOperandHandlerRegistry.getHandler(ApplicationUser searcher,
String field,
Operand operand) |
QueryLiteral |
DefaultJqlOperandResolver.getSingleValue(ApplicationUser user,
Operand operand,
TerminalClause clause) |
QueryLiteral |
JqlOperandResolver.getSingleValue(ApplicationUser user,
Operand operand,
TerminalClause clause)
Returns the single value contained within the passed operand.
|
List<QueryLiteral> |
DefaultJqlOperandResolver.getValues(ApplicationUser searcher,
Operand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
JqlOperandResolver.getValues(ApplicationUser searcher,
Operand operand,
TerminalClause terminalClause)
Return the values contained within the passed operand.
|
List<QueryLiteral> |
PredicateOperandResolver.getValues(ApplicationUser searcher,
String field,
Operand operand) |
List<QueryLiteral> |
DefaultPredicateOperandResolver.getValues(ApplicationUser searcher,
String field,
Operand operand) |
List<QueryLiteral> |
DefaultJqlOperandResolver.getValues(QueryCreationContext queryCreationContext,
Operand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
JqlOperandResolver.getValues(QueryCreationContext queryCreationContext,
Operand operand,
TerminalClause terminalClause)
Return the values contained within the passed operand.
|
boolean |
PredicateOperandResolver.isEmptyOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the operand represents an EMPTY operand.
|
boolean |
DefaultPredicateOperandResolver.isEmptyOperand(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
DefaultJqlOperandResolver.isEmptyOperand(Operand operand) |
boolean |
JqlOperandResolver.isEmptyOperand(Operand operand)
Returns true if the operand represents an EMPTY operand.
|
boolean |
PredicateOperandResolver.isFunctionOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the passed operand is a function call.
|
boolean |
DefaultPredicateOperandResolver.isFunctionOperand(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
DefaultJqlOperandResolver.isFunctionOperand(Operand operand) |
boolean |
JqlOperandResolver.isFunctionOperand(Operand operand)
Returns true if the passed operand is a function call.
|
boolean |
PredicateOperandResolver.isListOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the passed operand returns a list of values.
|
boolean |
DefaultPredicateOperandResolver.isListOperand(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
DefaultJqlOperandResolver.isListOperand(Operand operand) |
boolean |
JqlOperandResolver.isListOperand(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.
|
MessageSet |
DefaultJqlOperandResolver.validate(ApplicationUser user,
Operand operand,
TerminalClause terminalClause) |
MessageSet |
JqlOperandResolver.validate(ApplicationUser user,
Operand operand,
TerminalClause terminalClause)
Validates the operand against its handler.
|
MessageSet |
DefaultJqlOperandResolver.validate(ApplicationUser searcher,
Operand operand,
WasClause clause) |
MessageSet |
JqlOperandResolver.validate(ApplicationUser searcher,
Operand operand,
WasClause clause) |
Constructor and Description |
---|
QueryLiteral(Operand sourceOperand) |
QueryLiteral(Operand sourceOperand,
Long longValue) |
QueryLiteral(Operand sourceOperand,
String stringValue) |
Modifier and Type | Method and Description |
---|---|
Operand |
JqlParser.list() |
Operand |
JqlParser.operand() |
Modifier and Type | Method and Description |
---|---|
Operand |
DefaultOperandSanitisingVisitor.visit(EmptyOperand empty) |
Operand |
DefaultOperandSanitisingVisitor.visit(FunctionOperand function) |
Operand |
DefaultOperandSanitisingVisitor.visit(MultiValueOperand originalMulti) |
Operand |
DefaultOperandSanitisingVisitor.visit(SingleValueOperand singleValueOperand) |
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
JqlCascadingSelectLiteralUtil.createQueryLiteralsFromOptions(Operand sourceOperand,
Collection<Option> positiveOptions,
Collection<Option> negativeOptions)
Given a list of
Option s that should be in the result (positive) and a list of Option s that shouldn't (negative)
creates a list of QueryLiteral s that represent the positive and negative options and be used
for generating the query. |
Modifier and Type | Method and Description |
---|---|
Operand |
WasClauseImpl.getOperand() |
Operand |
TerminalClause.getOperand() |
Operand |
TerminalClauseImpl.getOperand() |
Constructor and Description |
---|
TerminalClauseImpl(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) |
Modifier and Type | Method and Description |
---|---|
Operand |
TerminalHistoryPredicate.getOperand() |
Constructor and Description |
---|
TerminalHistoryPredicate(Operator operator,
Operand operand) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyOperand
Used to represent a value that has not been set for a field.
|
class |
FunctionOperand
Represents a function in the query tree.
|
class |
MultiValueOperand
Used to represent a multiple constant values as an Operand.
|
class |
SingleValueOperand
Used to represent a single constant value as an Operand.
|
Modifier and Type | Method and Description |
---|---|
static Operand |
Operands.getEmpty()
Return an operand that represents the JQL EMPTY value.
|
static Operand |
Operands.valueOf(Long... values)
Create an operands that represents a list of passed numbers.
|
static Operand |
Operands.valueOf(Long value)
Create an operand that represents the passed number.
|
static Operand |
Operands.valueOf(Operand... operands)
Create an operand that represents a list of the passed operands.
|
static Operand |
Operands.valueOf(String... values)
Create an operands that represents a list of passed string values.
|
static Operand |
Operands.valueOf(String value)
Create an operand that represents the passed string.
|
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 Type | Method and Description |
---|---|
List<Operand> |
MultiValueOperand.getValues() |
Modifier and Type | Method and Description |
---|---|
static Operand |
Operands.valueOf(Operand... operands)
Create an operand that represents a list of the passed operands.
|
Modifier and Type | Method and Description |
---|---|
static Operand |
Operands.valueOfOperands(Collection<Operand> operands)
Create an operand that represents a list of the passed operands.
|
Constructor and Description |
---|
MultiValueOperand(Operand... operands) |
Constructor and Description |
---|
MultiValueOperand(Collection<? extends Operand> values) |
Copyright © 2002-2019 Atlassian. All Rights Reserved.