All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arcadedb.query.select.SelectPropertyValue Maven / Gradle / Ivy

There is a newer version: 24.11.1
Show newest version
package com.arcadedb.query.select;

import com.arcadedb.database.Document;

public class SelectPropertyValue implements SelectRuntimeValue {
  public final String propertyName;

  public SelectPropertyValue(final String propertyName) {
    this.propertyName = propertyName;
  }

  @Override
  public Object eval(final Document record) {
    return record.get(propertyName);
  }

  @Override
  public String toString() {
    return ":" + propertyName;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy