public class SimplePivotField extends Object implements PivotField
PivotField.| Constructor and Description |
|---|
SimplePivotField(List<Field> fields) |
SimplePivotField(String... fieldnames)
Create new
SimplePivotField |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Field> |
getFields()
Get the fields for this pivot.
|
String |
getName()
Get the name of the field used in
schema.xml of solr server |
int |
hashCode() |
String |
toString() |
public SimplePivotField(String... fieldnames)
SimplePivotFieldfieldnames - 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"public List<Field> getFields()
PivotFieldgetFields in interface PivotFieldpublic String getName()
Fieldschema.xml of solr serverCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.