Class QuerySpec.QueryParam

  • Enclosing class:
    QuerySpec

    public static class QuerySpec.QueryParam
    extends java.lang.Object
    Param in a Lucene query extracted in QuerySpec
    • Field Detail

      • query

        private final java.lang.String query
      • boost

        private final java.lang.Float boost
      • property

        private final IRI property
      • snippetVarName

        private final java.lang.String snippetVarName
      • propertyVarName

        private final java.lang.String propertyVarName
    • Method Detail

      • removeQueryPatterns

        public void removeQueryPatterns()
        replace all the query patterns by a singleton
      • getQuery

        public java.lang.String getQuery()
      • getProperty

        public IRI getProperty()
      • getPropertyVarName

        public java.lang.String getPropertyVarName()
      • getSnippetVarName

        public java.lang.String getSnippetVarName()
      • getBoost

        public java.lang.Float getBoost()
      • isHighlight

        public boolean isHighlight()
        Returns:
        is this param is highlighted or not
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isEvaluable

        public boolean isEvaluable()
        Returns:
        is this param is evaluable