#qc.addWhereEqualsString("ping","dstip","www.google.com")


qc = QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time<'2012-12-08 00:00:00'")

learner_result = database.query(qc.toString())

qc = QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time>'2012-12-08 00:00:00'")

eval_result = database.query(qc.toString())

orange = OrangeConstructor()
i = 0
#orange.add(Column("country",i,"discrete",False))
#i+=1
orange.add(Column("battery", i, "continuous", False))
i += 1
orange.add(Column("plugged", i, "discrete", False))
i += 1
orange.add(Column("temperature", i, "continuous", False))
i += 1
orange.add(Column("connectiontype", i, "discrete", False))
i += 1
orange.add(Column("networktype", i, "discrete", False))
i += 1
orange.add(Column("networkname", i, "discrete", False))
i += 1
Beispiel #2
0
    qc.applyWarmupClauses()


qc = QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time<'2012-12-08 00:00:00'")

learner_result = database.query(qc.toString())

qc = QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time>'2012-12-08 00:00:00'")

eval_result = database.query(qc.toString())

orange = OrangeConstructor()
i = 0
orange.add(Column("country", i, "discrete", False))
i += 1
orange.add(Column("battery", i, "continuous", False))
i += 1
#orange.add(Column("plugged",i,"discrete",False))
#i+=1
#orange.add(Column("temperature",i,"continuous",False))
#i+=1
orange.add(Column("networktype", i, "discrete", False))
i += 1
orange.add(Column("networkname", i, "discrete", False))
i += 1

orange.add(Column("phonetype", i, "discrete", False))
    #qc.addWhereEqualsString("ping","dstip","www.google.com")
    
qc=QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time<'2012-12-08 00:00:00'")

learner_result = database.query(qc.toString())

qc=QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time>'2012-12-08 00:00:00'")

eval_result = database.query(qc.toString())


orange = OrangeConstructor()
i=0
#orange.add(Column("country",i,"discrete",False))
#i+=1
orange.add(Column("battery",i,"continuous",False))
i+=1
orange.add(Column("plugged",i,"discrete",False))
i+=1
orange.add(Column("temperature",i,"continuous",False))
i+=1
orange.add(Column("connectiontype",i,"discrete",False))
i+=1
orange.add(Column("networktype",i,"discrete",False))
i+=1
orange.add(Column("networkname",i,"discrete",False))
i+=1
    #qc.addWhereEqualsString("ping","dstip","www.google.com")
    
qc=QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time<'2012-12-08 00:00:00'")

learner_result = database.query(qc.toString())

qc=QueryConstructor()
constructQuery(qc)
qc.addWhereRaw("measurement.time>'2012-12-08 00:00:00'")

eval_result = database.query(qc.toString())


orange = OrangeConstructor()
i=0
orange.add(Column("country",i,"discrete",False))
i+=1
#orange.add(Column("battery",i,"continuous",False))
#i+=1
#orange.add(Column("plugged",i,"discrete",False))
#i+=1
#orange.add(Column("temperature",i,"continuous",False))
#i+=1
orange.add(Column("connectiontype",i,"discrete",False))
i+=1
#orange.add(Column("networktype",i,"discrete",False))
#i+=1
orange.add(Column("networkname",i,"discrete",False))
i+=1