org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of elasticsearch-spark_2.11 Show documentation
                Show all versions of elasticsearch-spark_2.11 Show documentation
Elasticsearch Spark (Spark 1.3-1.6)
                
            package org.elasticsearch.hadoop.serialization.builder;
// Optional interface used by readers interested in knowing when a document hit starts and ends
// and also when metadata is being parsed vs the document core
// extended to provide event info about certain special events such as handling geo data
public interface ValueParsingCallback {
	void beginDoc();
	void beginLeadMetadata();
	void endLeadMetadata();
	void beginSource();
	
	void endSource();
	void beginTrailMetadata();
	
	void endTrailMetadata();
	
	void endDoc();
    // Geo fields are special
    // add hooks for them so the parser is aware
    void beginGeoField();
    void endGeoField();
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy