Package org.ametys.cms.search.query
Class AbstractFieldQuery
- java.lang.Object
-
- org.ametys.cms.search.query.AbstractFieldQuery
-
- All Implemented Interfaces:
Query
- Direct Known Subclasses:
AbstractTextQuery,BooleanQuery,ContentQuery,DateQuery,DateRangeQuery,DoubleQuery,DoubleRangeQuery,GeocodeQuery,LongQuery,LongRangeQuery,UsersQuery
public abstract class AbstractFieldQuery extends Object implements Query
Represents aQuerytesting the existence of a field.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
-
Field Summary
Fields Modifier and Type Field Description protected String_fieldPathThe field path.
-
Constructor Summary
Constructors Constructor Description AbstractFieldQuery(String fieldPath)Build a standard field query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetFieldPath()Get the field's pathinthashCode()
-
-
-
Field Detail
-
_fieldPath
protected String _fieldPath
The field path.
-
-
Constructor Detail
-
AbstractFieldQuery
public AbstractFieldQuery(String fieldPath)
Build a standard field query.- Parameters:
fieldPath- the field's path.
-
-