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

com.avaje.ebeaninternal.server.expression.TextCommonTermsExpression Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebeaninternal.server.expression;

import com.avaje.ebean.search.TextCommonTerms;

import java.io.IOException;

/**
 * Full text common terms expression.
 */
class TextCommonTermsExpression extends AbstractTextExpression {

  private final String search;

  private final TextCommonTerms options;

  public TextCommonTermsExpression(String search, TextCommonTerms options) {
    super(null);
    this.search = search;
    this.options = options;
  }

  @Override
  public void writeDocQuery(DocQueryContext context) throws IOException {
    context.writeTextCommonTerms(search, options);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy