Interface Field
- All Known Subinterfaces:
CalculatedField,PivotField,UpdateField,ValueHoldingField
- All Known Implementing Classes:
DistanceField,FacetOptions.FieldWithDateRangeParameters,FacetOptions.FieldWithFacetParameters,FacetOptions.FieldWithNumericRangeParameters,FacetOptions.FieldWithRangeParameters,FieldWithQueryParameters,HighlightOptions.FieldWithHighlightParameters,SimpleCalculatedField,SimpleField,SimplePivotField,SimpleUpdateField
public interface Field
Defines a Field that can be used within
Criteria.-
Method Details
-
getName
Get the name of the field used inschema.xmlof solr server- Returns:
-
of
Create aFieldwith given name.- Parameters:
name- must not be null.- Returns:
- new instance of
Field. - Since:
- 4.1
-
pivot
Create aFieldfor the given names.- Parameters:
names- must not be null.- Returns:
- new instance of
Field. - Since:
- 4.1
-
distance
Create aFieldwith given alias for the calculated distance.- Parameters:
alias- the alias to use. must not be null.- Returns:
- new instance of
Field. - Since:
- 4.1
-