Interface IndexCompositeElementDescriptor

    • Method Detail

      • isRoot

        boolean isRoot()
        Returns:
        true if this element represents the root of the index.
      • isObjectField

        boolean isObjectField()
        Returns:
        true if this element represents an object field. In that case, toObjectField() can be called safely (it won't throw an exception).
      • staticChildren

        Collection<? extends IndexFieldDescriptor> staticChildren()
        Get all statically-defined, direct child fields for this element.

        Only statically-defined fields are returned; fields created dynamically through templates are not included in the collection.

        Returns:
        A collection containing all static child fields.
      • staticChildrenByName

        Map<String,​? extends IndexFieldDescriptor> staticChildrenByName()
        Get all statically-defined, direct child fields for this element, mapped by their relative name.

        Only statically-defined fields are returned; fields created dynamically through templates are not included in the map.

        Returns:
        A map containing all static child fields.