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