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

com.orientechnologies.orient.core.sql.executor.OIndexSearchInfo Maven / Gradle / Ivy

There is a newer version: 3.2.32
Show newest version
package com.orientechnologies.orient.core.sql.executor;

import com.orientechnologies.orient.core.command.OCommandContext;

public class OIndexSearchInfo {

  private boolean allowsRangeQueries;
  private boolean map;
  private boolean indexByKey;
  private String field;
  private OCommandContext ctx;
  private boolean indexByValue;

  public OIndexSearchInfo(
      String indexField,
      boolean allowsRangeQueries,
      boolean map,
      boolean indexByKey,
      boolean indexByValue,
      OCommandContext ctx) {
    this.field = indexField;
    this.allowsRangeQueries = allowsRangeQueries;
    this.map = map;
    this.indexByKey = indexByKey;
    this.ctx = ctx;
    this.indexByValue = indexByValue;
  }

  public String getField() {
    return field;
  }

  public OCommandContext getCtx() {
    return ctx;
  }

  public boolean allowsRange() {
    return allowsRangeQueries;
  }

  public boolean isMap() {
    return map;
  }

  public boolean isIndexByKey() {
    return indexByKey;
  }

  public boolean isIndexByValue() {
    return indexByValue;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy