Class JoinKey

java.lang.Object
org.ametys.cms.search.query.join.JoinKey

public class JoinKey extends Object
Class representing a join key and its (optional) nested query for creating a JoinQuery
  • Constructor Details

    • JoinKey

      public JoinKey(String key)
      Creates a JoinKey
      Parameters:
      key - The key. Cannot be null
    • JoinKey

      public JoinKey(String key, Query nestedQuery)
      Creates a JoinKey
      Parameters:
      key - The key. Cannot be null
      nestedQuery - The nested query of the join key. Can be null
    • JoinKey

      public JoinKey(String key, String joinField, Query nestedQuery)
      Creates a JoinKey
      Parameters:
      key - The key. Cannot be null
      joinField - the field to join on. Can be null in which case "id_dv" will be assumed on Solr side.
      nestedQuery - The nested query of the join key. Can be null
  • Method Details