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

fr.boreal.component_builder.operations.QueryBaseLoadingOperationResult Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
package fr.boreal.component_builder.operations;

import java.io.Serializable;
import java.util.Collection;

import fr.boreal.component_builder.api.IOperationResult;
import fr.boreal.model.query.api.Query;

/**
 * Records the size of the query set
 * 
 * @param size
 */
public record QueryBaseLoadingOperationResult(long size) implements IOperationResult, Serializable {

	/**
	 * Records the size of the query set
	 * 
	 * @param queryBase
	 */
	public QueryBaseLoadingOperationResult(Collection queryBase) {
		this(queryBase.size());
	}

	public String serializationString() {
		return "Querybase size : " + size;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy