use of com.sap.hadoop.windowing.query2.translate.QueryDefVisitor in project SQLWindowing by hbutani.
the class SerializationTest method reconstructQueryDef.
static void reconstructQueryDef(QueryDef qDef, HiveConf hiveConf) throws WindowingException {
QueryDefVisitor qdd = new QueryDefDeserializer(hiveConf);
QueryDefWalker qdw = new QueryDefWalker(qdd);
qdw.walk(qDef);
}
use of com.sap.hadoop.windowing.query2.translate.QueryDefVisitor in project SQLWindowing by hbutani.
the class PTFOperator method reconstructQueryDef.
/**
* Initialize the visitor to use the QueryDefDeserializer Use the order
* defined in QueryDefWalker to visit the QueryDef
*
* @param hiveConf
* @throws WindowingException
*/
protected void reconstructQueryDef(HiveConf hiveConf) throws WindowingException {
QueryDefVisitor qdd = new QueryDefDeserializer(hiveConf, inputObjInspectors[0]);
QueryDefWalker qdw = new QueryDefWalker(qdd);
qdw.walk(qDef);
}
Aggregations