Modifier and Type | Field and Description |
---|---|
static String |
OPERAND_NAME |
Constructor and Description |
---|
MultiValueOperand(Collection<? extends Operand> values) |
MultiValueOperand(List<Long> longs) |
MultiValueOperand(Long... longs) |
MultiValueOperand(Operand... operands) |
MultiValueOperand(QueryLiteral... literals) |
MultiValueOperand(String... stringValues) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(OperandVisitor<R> visitor)
Allows us to perform operations over the operand based on the passed in visitor.
|
boolean |
equals(Object o) |
String |
getDisplayString()
Produces the unexpanded representation of the Operand.
|
String |
getName()
The name that represents this Operand.
|
List<Operand> |
getValues() |
int |
hashCode() |
static MultiValueOperand |
ofQueryLiterals(Collection<QueryLiteral> literals) |
public static final String OPERAND_NAME
public MultiValueOperand(String... stringValues)
public MultiValueOperand(Long... longs)
public MultiValueOperand(Operand... operands)
public MultiValueOperand(QueryLiteral... literals)
public MultiValueOperand(Collection<? extends Operand> values)
public static MultiValueOperand ofQueryLiterals(Collection<QueryLiteral> literals)
public String getName()
Operand
public String getDisplayString()
Operand
getDisplayString
in interface Operand
public <R> R accept(OperandVisitor<R> visitor)
Operand
Copyright © 2002-2020 Atlassian. All Rights Reserved.