Source code

Download source archive ↓

src/Entrypoint.scala

1package dacp.ecoflow
2object Op_storage_item_ec {
3 def main(args:Array[String]):Unit={
4  val op=new org.apache.spark.sql.dacp.EcoFlowOperator("cn.piflow.bundle.flux.dataCorrection.StorageItemEC",Map("source"->"Default"),Set("Fc","co2_Avg","para_H","flagValue")){}
5  val protocol=System.out;System.setOut(System.err)
6  try {if(args.headOption.exists(v=>v=="infer" || v=="infer-worker"))
7       xstream.operator.OperatorRunner.infer(args,protocol,op.previewOutputs)(op.inferOutputs)
8       else xstream.operator.OperatorRunner.run(args,protocol)(op.process)}
9  finally System.setOut(protocol)
10 }
11}