Class BeamSqlCli
java.lang.Object
org.apache.beam.sdk.extensions.sql.BeamSqlCli
BeamSqlCli provides methods to execute Beam SQL with an interactive client.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(BeamSqlEnv.BeamSqlEnvBuilder builder, boolean autoLoadUdfUdaf, PipelineOptions pipelineOptions) catalogManager(CatalogManager catalogManager) voidExecutes the given sql.explainQuery(String sqlString) Returns a human readable representation of the query execution plan.
-
Constructor Details
-
BeamSqlCli
public BeamSqlCli()
-
-
Method Details
-
catalogManager
-
metaStore
-
build
public BeamSqlCli build(BeamSqlEnv.BeamSqlEnvBuilder builder, boolean autoLoadUdfUdaf, PipelineOptions pipelineOptions) -
getMetaStore
-
explainQuery
Returns a human readable representation of the query execution plan.- Throws:
ParseException
-
execute
Executes the given sql.- Throws:
ParseException
-