org.elasticsearch.index.mapper
Class DocumentMapper.ParseListenerAdapter

java.lang.Object
  extended by org.elasticsearch.index.mapper.DocumentMapper.ParseListenerAdapter
All Implemented Interfaces:
DocumentMapper.ParseListener
Enclosing class:
DocumentMapper

public static class DocumentMapper.ParseListenerAdapter
extends Object
implements DocumentMapper.ParseListener


Field Summary
 
Fields inherited from interface org.elasticsearch.index.mapper.DocumentMapper.ParseListener
EMPTY
 
Constructor Summary
DocumentMapper.ParseListenerAdapter()
           
 
Method Summary
 boolean beforeFieldAdded(FieldMapper fieldMapper, org.apache.lucene.document.Fieldable fieldable, Object parseContext)
          Called before a field is added to the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentMapper.ParseListenerAdapter

public DocumentMapper.ParseListenerAdapter()
Method Detail

beforeFieldAdded

public boolean beforeFieldAdded(FieldMapper fieldMapper,
                                org.apache.lucene.document.Fieldable fieldable,
                                Object parseContext)
Description copied from interface: DocumentMapper.ParseListener
Called before a field is added to the document. Return true to include it in the document.

Specified by:
beforeFieldAdded in interface DocumentMapper.ParseListener


Copyright © 2009-2012. All Rights Reserved.