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 aQuery
testing 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
_fieldPath
The 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 boolean
equals(Object obj)
String
getFieldPath()
Get the field's pathint
hashCode()
-
-
-
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.
-
-