Spring Data Elasticsearch

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

java.lang.Object
  extended by org.springframework.data.elasticsearch.core.query.SimpleField
All Implemented Interfaces:
Field

public class SimpleField
extends Object
implements Field

The most trivial implementation of a Field


Constructor Summary
SimpleField(String name)
           
 
Method Summary
 String getName()
          Get the name of the field used in schema.xml of elasticsearch 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 elasticsearch server

Specified by:
getName in interface Field
Returns:

toString

public String toString()
Overrides:
toString in class Object

Spring Data Elasticsearch

Copyright © 2013 BioMed Central. All Rights Reserved.