io.ebeaninternal.server.expression.TextSimpleExpression Maven / Gradle / Ivy
package io.ebeaninternal.server.expression;
import io.ebean.search.TextSimple;
import java.io.IOException;
/**
* Full text Multi-Match expression.
*/
final class TextSimpleExpression extends AbstractTextExpression {
private final String search;
private final TextSimple options;
TextSimpleExpression(String search, TextSimple options) {
super(null);
this.search = search;
this.options = options;
}
@Override
public void writeDocQuery(DocQueryContext context) throws IOException {
context.writeTextSimple(search, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy