-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes ConnectorBindings in favor of Table getDatum (#1568)
- Loading branch information
Showing
15 changed files
with
148 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
partiql-eval/src/main/kotlin/org/partiql/eval/internal/operator/rex/ExprTable.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.partiql.eval.internal.operator.rex | ||
|
||
import org.partiql.eval.internal.Environment | ||
import org.partiql.eval.internal.operator.Operator | ||
import org.partiql.eval.value.Datum | ||
import org.partiql.planner.catalog.Table | ||
|
||
/** | ||
* Wrap a [Table] as an expression operator. | ||
* | ||
* @constructor | ||
* | ||
* @param table | ||
*/ | ||
internal class ExprTable(table: Table) : Operator.Expr { | ||
|
||
// DO NOT USE FINAL | ||
private var _table = table | ||
|
||
override fun eval(env: Environment): Datum = _table.getDatum() | ||
} |
18 changes: 0 additions & 18 deletions
18
partiql-eval/src/main/kotlin/org/partiql/eval/internal/operator/rex/ExprVarGlobal.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
partiql-spi/src/main/kotlin/org/partiql/spi/connector/ConnectorBinding.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
partiql-spi/src/main/kotlin/org/partiql/spi/connector/ConnectorBindings.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.