@Internal @Experimental public class BeamSqlEnv extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BeamSqlEnv.BeamSqlEnvBuilder
BeamSqlEnv's Builder.
|
Modifier and Type | Method and Description |
---|---|
static BeamSqlEnv.BeamSqlEnvBuilder |
builder(TableProvider tableProvider)
Creates a builder with the default schema backed by the table provider.
|
void |
executeDdl(java.lang.String sqlStatement) |
java.lang.String |
explain(java.lang.String sqlString) |
org.apache.calcite.jdbc.CalcitePrepare.Context |
getContext() |
java.util.Map<java.lang.String,java.lang.String> |
getPipelineOptions() |
static BeamSqlEnv |
inMemory(TableProvider... tableProviders) |
boolean |
isDdl(java.lang.String sqlStatement) |
BeamRelNode |
parseQuery(java.lang.String query) |
static BeamSqlEnv |
readOnly(java.lang.String tableType,
java.util.Map<java.lang.String,BeamSqlTable> tables) |
static BeamSqlEnv |
withTableProvider(TableProvider tableProvider) |
public static BeamSqlEnv.BeamSqlEnvBuilder builder(TableProvider tableProvider)
public static BeamSqlEnv readOnly(java.lang.String tableType, java.util.Map<java.lang.String,BeamSqlTable> tables)
public static BeamSqlEnv withTableProvider(TableProvider tableProvider)
public static BeamSqlEnv inMemory(TableProvider... tableProviders)
public BeamRelNode parseQuery(java.lang.String query) throws ParseException
ParseException
public boolean isDdl(java.lang.String sqlStatement) throws ParseException
ParseException
public void executeDdl(java.lang.String sqlStatement) throws ParseException
ParseException
public org.apache.calcite.jdbc.CalcitePrepare.Context getContext()
public java.util.Map<java.lang.String,java.lang.String> getPipelineOptions()
public java.lang.String explain(java.lang.String sqlString) throws ParseException
ParseException