-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
7,353 additions
and
972 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
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
11 changes: 0 additions & 11 deletions
11
partiql-eval/src/main/kotlin/org/partiql/eval/PartiQLEngineBuilder.kt
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
partiql-eval/src/main/kotlin/org/partiql/eval/PartiQLEngineDefault.kt
This file was deleted.
Oops, something went wrong.
12 changes: 4 additions & 8 deletions
12
partiql-eval/src/main/kotlin/org/partiql/eval/PartiQLStatement.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 |
---|---|---|
@@ -1,15 +1,11 @@ | ||
package org.partiql.eval | ||
|
||
import org.partiql.value.PartiQLValue | ||
import org.partiql.value.PartiQLValueExperimental | ||
import org.partiql.planner.catalog.Session | ||
|
||
/** | ||
* Represents a compiled PartiQL Plan ready for execution. | ||
* Represents a compiled PartiQL statement ready for execution. | ||
*/ | ||
sealed interface PartiQLStatement<T> { | ||
public interface PartiQLStatement { | ||
|
||
public fun execute(): T | ||
|
||
@OptIn(PartiQLValueExperimental::class) | ||
interface Query : PartiQLStatement<PartiQLValue> | ||
public fun execute(session: Session): PartiQLResult | ||
} |
14 changes: 14 additions & 0 deletions
14
partiql-eval/src/main/kotlin/org/partiql/eval/builder/PartiQLEngineBuilder.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,14 @@ | ||
package org.partiql.eval.builder | ||
|
||
import org.partiql.eval.PartiQLEngine | ||
import org.partiql.eval.internal.SqlEngine | ||
|
||
class PartiQLEngineBuilder { | ||
|
||
/** | ||
* Build the builder, return an implementation of a [PartiQLEngine] | ||
* | ||
* @return | ||
*/ | ||
public fun build(): PartiQLEngine = SqlEngine() | ||
} |
Oops, something went wrong.