All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback Maven / Gradle / Ivy

There is a newer version: 8.8.2
Show newest version
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