public class RequestEngine extends Object implements AutoCloseable
| Constructor and Description |
|---|
RequestEngine(String sql,
TypeOuterClass.Database database)
Construct RequestEngine with given sql and database.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the request engine.
|
PhysicalOpNode |
getPlan()
Get physical plan.
|
public RequestEngine(String sql, TypeOuterClass.Database database) throws UnsupportedHybridSeException
sql - query the sql stringdatabase - query on the databaseUnsupportedHybridSeException - throw when query unsupported or has syntax errorpublic PhysicalOpNode getPlan()
public void close()
close in interface AutoCloseableCopyright © 2021. All rights reserved.