public class MatchPredicate extends java.lang.Object implements FunctionImplementation<Function>
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.util.BytesRef |
DEFAULT_MATCH_TYPE |
static FunctionIdent |
IDENT |
static FunctionInfo |
INFO |
static java.lang.String |
NAME |
static java.util.Set<DataType> |
SUPPORTED_TYPES |
Constructor and Description |
---|
MatchPredicate() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
fieldNameWithBoost(java.lang.String fieldName,
java.lang.Object boost) |
static java.lang.String |
getMatchType(java.lang.String matchType,
DataType columnType) |
FunctionInfo |
info() |
Symbol |
normalizeSymbol(Function function) |
static void |
register(PredicateModule module)
the match predicate is registered as a regular function
though it is called differently by the parser.
|
public static final java.util.Set<DataType> SUPPORTED_TYPES
public static final org.apache.lucene.util.BytesRef DEFAULT_MATCH_TYPE
public static final java.lang.String NAME
public static final FunctionIdent IDENT
public static final FunctionInfo INFO
public static java.lang.String fieldNameWithBoost(java.lang.String fieldName, @Nullable java.lang.Object boost)
public static java.lang.String getMatchType(@Nullable java.lang.String matchType, DataType columnType)
public static void register(PredicateModule module)
public FunctionInfo info()
info
in interface FunctionImplementation<Function>
public Symbol normalizeSymbol(Function function)
normalizeSymbol
in interface FunctionImplementation<Function>