Class MultiFieldsMap

    • Constructor Detail

      • MultiFieldsMap

        public MultiFieldsMap​(List<MultiFields> multiFieldsList)
      • MultiFieldsMap

        public MultiFieldsMap()
    • Method Detail

      • upperPathBoundary

        public int upperPathBoundary()
        return the upper limit of all paths in the map
      • matchingLateralJoin

        public Optional<LateralJoinDefinition> matchingLateralJoin​(String templateId,
                                                                   String candidateLateralExpression)
        traverse the list of existing definition and identify a lateral join matching this variable path, template and SQL expression
        Parameters:
        templateId -
        candidateLateralExpression -
        Returns:
      • matchingLateralJoin

        public static Optional<LateralJoinDefinition> matchingLateralJoin​(Collection<MultiFields> multiFieldsCollection,
                                                                          String templateId,
                                                                          String candidateLateralExpression)
        traverse the list of existing definition and identify a lateral join matching this variable path, template and SQL expression
        Parameters:
        multiFieldsCollection -
        templateId -
        candidateLateralExpression -
        Returns: