Package com.orientechnologies.orient.core.record.impl

Examples of com.orientechnologies.orient.core.record.impl.ODocument.copyTo()


    // APPLY PROJECTIONS
    final ODocument inputDocument = (ODocument) (iRecord != null ? iRecord.getRecord() : null);

    if (iProjections.isEmpty())
      // SELECT * CASE
      inputDocument.copyTo(iValue);
    else {

      for (Entry<String, Object> projection : iProjections.entrySet()) {
        final Object v = projection.getValue();

View Full Code Here


          continue;

        final Object projectionValue;
        if (v.equals("*")) {
          // COPY ALL
          inputDocument.copyTo(iValue);
          projectionValue = null;
        } else if (v instanceof OSQLFilterItemVariable) {
          // RETURN A VARIABLE FROM THE CONTEXT
          projectionValue = ((OSQLFilterItemVariable) v).getValue(inputDocument, iValue, iContext);
        } else if (v instanceof OSQLFilterItemField)
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.