ompute.logical-plan.0.2.1.source-code.Limit.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logical-plan Show documentation
Show all versions of logical-plan Show documentation
JVM query engine based on Apache Arrow
package org.ballistacompute.logical
import org.ballistacompute.datatypes.Schema
/**
* Logical plan representing a limit
*/
class Limit(val input: LogicalPlan, val limit: Int): LogicalPlan {
override fun schema(): Schema {
return input.schema()
}
override fun children(): List {
return listOf(input)
}
override fun toString(): String {
return "Limit: $limit"
}
}