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

de.comhix.database.objects.QueryResult.kt Maven / Gradle / Ivy

package de.comhix.database.objects

import com.google.common.collect.ForwardingList

/**
 * @author Benjamin Beeker
 */
class QueryResult @JvmOverloads constructor(private val objects: List, val count: Long = objects.size.toLong()) : ForwardingList() {
    /**
     * The total number of matching objects found in the database for this query
     *
     * @return matching objects count
     * @since 1.4.7
     */
    override fun delegate(): List {
        return objects
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy