@Experimental public class BeamSqlCli extends java.lang.Object
BeamSqlCli
provides methods to execute Beam SQL with an interactive client.Constructor and Description |
---|
BeamSqlCli() |
Modifier and Type | Method and Description |
---|---|
static PCollection<BeamRecord> |
compilePipeline(java.lang.String sqlStatement,
BeamSqlEnv sqlEnv)
compile SQL, and return a
Pipeline . |
static PCollection<BeamRecord> |
compilePipeline(java.lang.String sqlStatement,
Pipeline basePipeline,
BeamSqlEnv sqlEnv)
compile SQL, and return a
Pipeline . |
static java.lang.String |
explainQuery(java.lang.String sqlString,
BeamSqlEnv sqlEnv)
Returns a human readable representation of the query execution plan.
|
public static java.lang.String explainQuery(java.lang.String sqlString, BeamSqlEnv sqlEnv) throws java.lang.Exception
java.lang.Exception
public static PCollection<BeamRecord> compilePipeline(java.lang.String sqlStatement, BeamSqlEnv sqlEnv) throws java.lang.Exception
Pipeline
.java.lang.Exception
public static PCollection<BeamRecord> compilePipeline(java.lang.String sqlStatement, Pipeline basePipeline, BeamSqlEnv sqlEnv) throws java.lang.Exception
Pipeline
.java.lang.Exception