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

io.ebeaninternal.api.NoopQueryPlanManager Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebeaninternal.api;

import io.ebean.meta.MetaQueryPlan;
import io.ebean.meta.QueryPlanRequest;

import java.util.Collections;
import java.util.List;

final class NoopQueryPlanManager implements QueryPlanManager {

  @Override
  public void setDefaultThreshold(long thresholdMicros) {
    // do nothing
  }

  @Override
  public SpiQueryBindCapture createBindCapture(SpiQueryPlan queryPlan) {
    return SpiQueryBindCapture.NOOP;
  }

  @Override
  public List collect(QueryPlanRequest request) {
    return Collections.emptyList();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy