mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#919 - io.ebean package initial
This commit is contained in:
1 parent
5821dc96b9
commit
971e2dc91b
2134 files changed
+10721
-8652
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package io.ebeaninternal.server.expression;
|
||||
|
||||
import io.ebean.search.Match;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Full text MATCH expression.
|
||||
*/
|
||||
public class TextMatchExpression extends AbstractTextExpression {
|
||||
|
||||
private final String search;
|
||||
|
||||
private final Match options;
|
||||
|
||||
public 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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user