Examples of DataValue


Examples of org.apache.drill.exec.ref.values.DataValue

      this.eval = e.getExpr().accept(get(record), null);
    }

    @Override
    public void eval() {
      DataValue val = eval.eval();
      record.addField(outputPath, val);
    }
View Full Code Here

Examples of org.apache.drill.exec.ref.values.DataValue

    LogicalExpression e = parser.parse().e;
    RecordPointer r = new UnbackedRecord();
    r.addField(new SchemaPath("a", ExpressionPosition.UNKNOWN), new IntegerScalar(3));
    SimpleEvaluationVisitor builder = new SimpleEvaluationVisitor(r);
    BasicEvaluator eval = e.accept(builder, null);
    DataValue v = eval.eval();
    System.out.println(v);
  }
View Full Code Here

Examples of org.opcfoundation.ua.builtintypes.DataValue

            XmlElement xmlElement = new XmlElement(sw.toString());
            XmlDecoder xmlDecoder = new XmlDecoder(xmlElement, ENCODER_CONTEXT);
            Object o = xmlDecoder.getVariantContents();

            return new DataValue(new Variant(o));
        } catch (Throwable t) {
            throw new RuntimeException("unable to parse Value: " + value, t);
        }
    }
View Full Code Here

Examples of uk.org.ogsadai.data.DataValue

        {
          mIsFinished = true;
        }
        else
        {
          DataValue dataValue = mIterator.next();
          dataValue.accept(this);
          checkException();
        }
      }
    }
    catch (Exception e)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.