Spring Data Solr

org.springframework.data.solr.core.query
Class SimpleField

java.lang.Object
  extended by org.springframework.data.solr.core.query.SimpleField
All Implemented Interfaces:
Field
Direct Known Subclasses:
FieldWithQueryParameters, SimpleUpdateField

public class SimpleField
extends Object
implements Field

The most trivial implementation of a Field

Author:
Christoph Strobl

Constructor Summary
SimpleField(String name)
           
 
Method Summary
 String getName()
          Get the name of the field used in schema.xml of solr server
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleField

public SimpleField(String name)
Method Detail

getName

public String getName()
Description copied from interface: Field
Get the name of the field used in schema.xml of solr server

Specified by:
getName in interface Field
Returns:

toString

public String toString()
Overrides:
toString in class Object

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.