Class SimplePivotField
java.lang.Object
org.springframework.data.solr.core.query.SimplePivotField
- All Implemented Interfaces:
Field,PivotField
The most trivial implementation of
PivotField.-
Constructor Summary
ConstructorsConstructorDescriptionSimplePivotField(String... fieldnames) Create newSimplePivotFieldSimplePivotField(List<Field> fields) -
Method Summary
-
Constructor Details
-
SimplePivotField
Create newSimplePivotField- Parameters:
fieldnames- must consist of at least 2 fieldname eg."field_1", "field_2"or a single String with comma separated fieldnames like"field_1,field_2"
-
SimplePivotField
- Parameters:
fields- must consist of a least 2Fields.
-
-
Method Details
-
getFields
Description copied from interface:PivotFieldGet the fields for this pivot.- Specified by:
getFieldsin interfacePivotField- Returns:
-
getName
Description copied from interface:FieldGet the name of the field used inschema.xmlof solr server -
toString
-
hashCode
public int hashCode() -
equals
-