Class SingleIndexRequest<T extends Identifiable>

    • Constructor Detail

      • SingleIndexRequest

        public SingleIndexRequest​(@NonNull
                                  T payload,
                                  @NonNull
                                  @NonNull Class<?> originatingEntity)
    • Method Detail

      • getPayload

        public T getPayload()
        The payload which will be unwrapped into the final JSON. Allows flexibility since an index request may look different for each entity.
      • get_class

        public String get_class()
        The class name of the entity on which a CRUD operation was performed that resulted in this request. This is not necessarily the entity on which the reindex will actually occur - it may just be a related entity.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object