@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 |
---|---|
void |
execute(java.lang.String sqlString)
Executes the given sql.
|
java.lang.String |
explainQuery(java.lang.String sqlString)
Returns a human readable representation of the query execution plan.
|
MetaStore |
getMetaStore() |
BeamSqlCli |
metaStore(MetaStore metaStore) |
BeamSqlCli |
metaStore(MetaStore metaStore,
boolean autoLoadUdfUdaf) |
public BeamSqlCli metaStore(MetaStore metaStore)
public BeamSqlCli metaStore(MetaStore metaStore, boolean autoLoadUdfUdaf)
public MetaStore getMetaStore()
public java.lang.String explainQuery(java.lang.String sqlString) throws ParseException
ParseException
public void execute(java.lang.String sqlString) throws ParseException
ParseException