@Configuration public class QueryConfiguration extends Object
Constructor and Description |
---|
QueryConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.yahoo.bullet.bql.BQLConfig |
bqlConfig(String configPath)
Creates a
BQLConfig for BQL. |
com.yahoo.bullet.bql.BulletQueryBuilder |
bulletQueryBuilder(com.yahoo.bullet.common.BulletConfig bqlConfig)
Creates a query builder for BQL.
|
@Bean public com.yahoo.bullet.bql.BQLConfig bqlConfig(@Value(value="${bullet.query.config}") String configPath)
BQLConfig
for BQL.configPath
- The String path to the config file.BQLConfig
.@Bean public com.yahoo.bullet.bql.BulletQueryBuilder bulletQueryBuilder(com.yahoo.bullet.common.BulletConfig bqlConfig)
bqlConfig
- The BulletConfig
to use for instantiating the query builder.BulletQueryBuilder
.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.