ompute.logical-plan.0.2.1.source-code.Selection.kt Maven / Gradle / Ivy
package org.ballistacompute.logical
import org.ballistacompute.datatypes.Schema
/**
* Logical plan representing a selection (a.k.a. filter) against an input
*/
class Selection(val input: LogicalPlan, val expr: LogicalExpr): LogicalPlan {
override fun schema(): Schema {
return input.schema()
}
override fun children(): List {
return listOf(input)
}
override fun toString(): String {
return "Selection: $expr"
}
}