java.lang.Object | |
↳ | com.atlassian.query.clause.TerminalClauseImpl |
Used to represent a terminal node in the query tree.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a terminal clause with the specified name, operator and turns the string value into a
SingleValueOperand populated with a string value. | |||||||||||
Creates a terminal clause with the specified name, operator and turns the long value into a
SingleValueOperand populated with a long value. | |||||||||||
Creates a terminal clause with the specified name, operator and operand.
| |||||||||||
Creates a terminal clause with the specified name, operator, operand and property.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Allows us to perform operations over the clauses based on the passed in visitor.
| |||||||||||
The name of the individual clause, this should be unique amongst the implementations otherwise
the clauses will be treated as the "same" type of clause.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.query.clause.Clause
| |||||||||||
From interface
com.atlassian.query.clause.TerminalClause
|
Creates a terminal clause with the specified name, operator and turns the string value into a
SingleValueOperand
populated with a string value.
name | the name for the clause. |
---|---|
operator | the operator for the clause. |
operand | the string value that will be wrapped in a SingleValueOperand. |
Creates a terminal clause with the specified name, operator and turns the long value into a
SingleValueOperand
populated with a long value.
name | the name for the clause. |
---|---|
operator | the operator for the clause. |
operand | the long value that will be wrapped in a SingleValueOperand. |
Creates a terminal clause with the specified name, operator and operand.
name | the name for the clause. |
---|---|
operator | the operator for the clause. |
operand | the right-hand-side value of the clause. |
Creates a terminal clause with the specified name, operator, operand and property.
name | the name for the clause. |
---|---|
operator | the operator for the clause. |
operand | the right-hand-side value of the clause. |
property | the name of the property. |
A convienience constructor that will create a clause with the EQUALS
operator if there is only one value in the array and with the IN
operator if there are more than one value in the array.
name | the name for the clause. |
---|---|
values | the string values that will be turned into SingleValueOperand 's
containing a string value.
|
A convienience constructor that will create a clause with the EQUALS
operator if there is only one value in the array and with the IN
operator if there are more than one value in the array.
name | the name for the clause. |
---|---|
values | the long values that will be turned into SingleValueOperand 's
containing a long value.
|
Allows us to perform operations over the clauses based on the passed in visitor. This method calls the visit method on the visitor with this reference.
visitor | the visitor to accept. |
---|
The name of the individual clause, this should be unique amongst the implementations otherwise the clauses will be treated as the "same" type of clause.