protected static class ANetricsQueryBuilderBuilderBase.FirstValidQlt
extends java.lang.Object
Constructor and Description |
---|
FirstValidQlt(com.netrics.likeit.NetricsQuery querylet,
double match_score_cutoff,
double confidence_cutoff,
java.lang.Boolean preindex_it)
Create the definition of a FirstValid querylet.
|
Modifier and Type | Method and Description |
---|---|
double |
getConfidenceCutoff() |
double |
getMatchScoreCutoff() |
boolean |
getPreindexIt() |
com.netrics.likeit.NetricsQuery |
getQuerylet() |
void |
setQuerylet(com.netrics.likeit.NetricsQuery querylet)
Set the query to be used.
|
public FirstValidQlt(com.netrics.likeit.NetricsQuery querylet, double match_score_cutoff, double confidence_cutoff, java.lang.Boolean preindex_it) throws java.lang.IllegalArgumentException
querylet
- the NetricsQuery object representing the querylet.match_score_cutoff
- the threshold score that divides a matching
feature from a non-matching feature. A value of -1.0
indicates the absolute cutoff value should be used.
(Required.)confidence_cutoff
- use this querylet only if the confidence measure
is greater than or equal to this value. A value of -1.0 implies the
default confidence cutoff should be used.
(Required.)preindex_it
- if true the querylet is scanned by the prefilter,
if false the prefilter ignores this querylet.
(Default: true)java.lang.IllegalArgumentException
- if the cutoff values are not between
0.0 and 1.0 or -1.0.public void setQuerylet(com.netrics.likeit.NetricsQuery querylet)
querylet
- the query for this supporting querylet.public com.netrics.likeit.NetricsQuery getQuerylet()
java.lang.IllegalStateException
- if no querylet has been set.public double getMatchScoreCutoff()
public double getConfidenceCutoff()
public boolean getPreindexIt()