Package org.apache.drill.exec.ref.values

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


    public ArrayValueIterator(BaseArrayValue arrayValue) {
      this.arrayValue = arrayValue;
    }

    public ArrayValueIterator() {
      this(new SimpleArrayValue());
    }
View Full Code Here


  public static DataValue convert(JsonNode node) {
    if (node == null || node.isNull() || node.isMissingNode()) {
      return DataValue.NULL_VALUE;
    } else if (node.isArray()) {
      SimpleArrayValue arr = new SimpleArrayValue(node.size());
      for (int i = 0; i < node.size(); i++) {
        arr.addToArray(i, convert(node.get(i)));
      }
      return arr;
    } else if (node.isObject()) {
      SimpleMapValue map = new SimpleMapValue();
      String name;
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.ref.values.SimpleArrayValue

Copyright © 2018 www.massapicom. 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.