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

io.ebeaninternal.server.expression.TextQueryStringExpression Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.expression;

import io.ebean.search.TextQueryString;

import java.io.IOException;

/**
 * Full text query string expression.
 */
final class TextQueryStringExpression extends AbstractTextExpression {

  private final String search;
  private final TextQueryString options;

  TextQueryStringExpression(String search, TextQueryString options) {
    super(null);
    this.search = search;
    this.options = options;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy