public static class QueryOptions.QueryCustom extends QueryOptions.FacetableConstraintConfiguration implements TermOptions, ConstraintSource, Annotatable<QueryOptions.QueryCustom>
| Constructor and Description |
|---|
QueryOptions.QueryCustom(boolean doFacets)
Constructor for the custom constraint.
|
QueryOptions.QueryCustom(boolean doFacets,
QueryOptions.XQueryExtension parseExtension)
Constructor for the custom constraint.
|
| Modifier and Type | Method and Description |
|---|---|
QueryOptions.QueryCustom |
annotate(String xmlString)
Adds an annotation, returning this custom constraint.
|
List<QueryOptions.QueryAnnotation> |
getAnnotations()
Gets the annotations on this custom constraint.
|
QueryOptions.XQueryExtension |
getFinishFacet()
Returns the XQuery function called to finish the facet.
|
QueryOptions.XQueryExtension |
getParse()
Returns the XQuery function called to implement the custom constraint.
|
QueryOptions.XQueryExtension |
getStartFacet()
Returns the XQuery function called to start the facet.
|
void |
setFinishFacet(QueryOptions.XQueryExtension finishFacet)
Specifies an XQuery function called to finish the facet.
|
void |
setParse(QueryOptions.XQueryExtension parse)
Specifies an XQuery function called to implement the custom constraint.
|
void |
setStartFacet(QueryOptions.XQueryExtension startFacet)
Specifies an XQuery function called to start the facet.
|
addFacetOption, doFacets, getCollation, getDoFacets, getFacetOptions, getType, setCollation, setDoFacets, setFacetOptions, setTypeaddTermOption, getAttribute, getElement, getFieldName, getFragmentScope, getJsonKeyName, getPath, getPathIndex, getPathNamespaceBindings, getTermOptions, getWeight, setAttribute, setElement, setField, setFragmentScope, setJsonKey, setPath, setTermOptions, setWeightequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTermOptions, getWeight, setTermOptions, setWeightpublic QueryOptions.QueryCustom(boolean doFacets)
doFacets - whether to build a facet on the custom constraintpublic QueryOptions.QueryCustom(boolean doFacets,
QueryOptions.XQueryExtension parseExtension)
doFacets - whether to build a facet on the custom constraintparseExtension - the identification of the XQuery function that implements the custom constraintpublic List<QueryOptions.QueryAnnotation> getAnnotations()
getAnnotations in interface Annotatable<QueryOptions.QueryCustom>public QueryOptions.QueryCustom annotate(String xmlString)
annotate in interface Annotatable<QueryOptions.QueryCustom>public QueryOptions.XQueryExtension getFinishFacet()
public QueryOptions.XQueryExtension getParse()
public QueryOptions.XQueryExtension getStartFacet()
public void setFinishFacet(QueryOptions.XQueryExtension finishFacet)
finishFacet - the identification of the XQuery functionpublic void setParse(QueryOptions.XQueryExtension parse)
parse - the identification of the XQuery functionpublic void setStartFacet(QueryOptions.XQueryExtension startFacet)
startFacet - the identification of the XQuery functionCopyright © 2013-2015 MarkLogic Corporation.