FieldEqualityPredicate

data class FieldEqualityPredicate(keyFieldName: String, equivalentValue: PartiqlPhysical.Expr)

The "filter scan to key lookup" pass identifies all equality expressions where either side is a primary key within the filter's predicate. This class represents the identified key field and the opposing value expression of each such equality expression. For example, given the filter predicate: foo.id = 42, the keyFieldName is id and the equivalentValue is (lit 42).

Constructors

Link copied to clipboard
fun FieldEqualityPredicate(keyFieldName: String, equivalentValue: PartiqlPhysical.Expr)

Properties

Link copied to clipboard
val equivalentValue: PartiqlPhysical.Expr
Link copied to clipboard
val keyFieldName: String