Class ContextMapping.InternalQueryContext

  • Enclosing class:
    ContextMapping<T extends ToXContent>

    public static class ContextMapping.InternalQueryContext
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int boost  
      java.lang.String context  
      boolean isPrefix  
    • Constructor Summary

      Constructors 
      Constructor Description
      InternalQueryContext​(java.lang.String context, int boost, boolean isPrefix)  
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • context

        public final java.lang.String context
      • boost

        public final int boost
      • isPrefix

        public final boolean isPrefix
    • Constructor Detail

      • InternalQueryContext

        public InternalQueryContext​(java.lang.String context,
                                    int boost,
                                    boolean isPrefix)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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