Package org.ametys.cms.search.query
Class EntryPositionQuery
java.lang.Object
org.ametys.cms.search.query.EntryPositionQuery
- All Implemented Interfaces:
Query
Represents a
Query
testing the position of a repeater entry.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
Modifier and TypeFieldDescriptionprotected Query.Operator
The operator.protected long
The value to test. -
Constructor Summary
ConstructorDescriptionEntryPositionQuery
(long value) Build a LongQuery.EntryPositionQuery
(Query.Operator op, long value) Build a LongQuery. -
Method Summary
-
Field Details
-
_operator
The operator. -
_value
The value to test.
-
-
Constructor Details
-
EntryPositionQuery
Build a LongQuery.- Parameters:
value
- the value.
-
EntryPositionQuery
Build a LongQuery.- Parameters:
op
- the operator.value
- the value.
-
-
Method Details
-
build
Description copied from interface:Query
Build the solr query string representing the Query object.- Specified by:
build
in interfaceQuery
- Returns:
- the solr query string representing the Query object.
- Throws:
QuerySyntaxException
- if the query can't be built because of a syntax error.
-
hashCode
-
equals
-