Class ESHintQueryBuilderDescriptor

  • All Implemented Interfaces:
    Descriptor

    public class ESHintQueryBuilderDescriptor
    extends Object
    implements Descriptor
    This descriptor allows to add a Elasticsearch Hint.
    Since:
    11.1
    • Constructor Detail

      • ESHintQueryBuilderDescriptor

        public ESHintQueryBuilderDescriptor()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor
      • doesRemove

        public boolean doesRemove()
        Description copied from interface: Descriptor
        During merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.

        If the last descriptor of same id doesRemove() return true, the descriptor for this id will be null.

        Specified by:
        doesRemove in interface Descriptor
      • getName

        public String getName()