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

com.evento.parser.model.handler.HasQueryInvocations Maven / Gradle / Ivy

There is a newer version: ev1.10.2
Show newest version
package com.evento.parser.model.handler;

import com.evento.parser.model.payload.Query;

import java.util.Map;

/**
 * HasQueryInvocations is an interface that represents an entity capable of adding and retrieving query invocations.
 */
public interface HasQueryInvocations {

	/**
	 * Adds a query invocation to the list of query invocations.
	 *
	 * @param query The query object to be added.
	 * @param line  The line number where the query invocation is made.
	 */
	void addQueryInvocation(Query query, int line);

	/**
	 * Retrieves a map of query invocations.
	 *
	 * @return The map of query invocations where the key is the line number of the invocation and the value is the Query object representing the invocation.
	 */
	Map getQueryInvocations();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy