Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for addCondition (0.13 sec)

  1. src/main/resources/fess_thumbnail.xml

    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.3"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.4"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.workspace.3"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            rule.setRuleId("multiRule");
            rule.setResponseProcessor(new TestResponseProcessor("multiProcessor"));
            rule.addCondition("url", "https://.*\\.example\\.com/.*");
            rule.addCondition("mimeType", "text/html");
            rule.addCondition("statusCode", "200");
    
            // All conditions match
            ResponseData responseData1 = new ResponseData();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        }
    
        /**
         * Adds a condition for thumbnail generation.
         * @param key The condition key.
         * @param regex The regex pattern for the condition.
         */
        public void addCondition(final String key, final String regex) {
            final String value = conditionMap.get(key);
            if (StringUtil.isBlank(value)) {
                conditionMap.put(key, regex);
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser.go

    	Expression *Expression `parser:"@@"`
    	As         string      `parser:"[ \"AS\" @Ident | \"AS\" @LitString ]"`
    }
    
    // Grammar for Expression
    //
    // Expression          → AndCondition ("OR" AndCondition)*
    // AndConditionCondition ("AND" Condition)*
    // Condition           → "NOT" Condition | ConditionExpression
    // ConditionExpression → ValueExpression ("=" | "<>" | "<=" | ">=" | "<" | ">") ValueExpression
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. clause/where.go

    func (where Where) Name() string {
    	return "WHERE"
    }
    
    // Build build where clause
    func (where Where) Build(builder Builder) {
    	if len(where.Exprs) == 1 {
    		if andCondition, ok := where.Exprs[0].(AndConditions); ok {
    			where.Exprs = andCondition.Exprs
    		}
    	}
    
    	// Switch position if the first query expression is a single Or condition
    	for idx, expr := range where.Exprs {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. internal/s3select/sql/analysis.go

    	return e.Expression.analyze(s)
    }
    
    func (e *Expression) analyze(s *Select) (result qProp) {
    	for _, ac := range e.And {
    		result.combine(ac.analyze(s))
    	}
    	return result
    }
    
    func (e *AndCondition) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Condition {
    		result.combine(ac.analyze(s))
    	}
    	return result
    }
    
    func (e *Condition) analyze(s *Select) (result qProp) {
    	if e.Operand != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. internal/s3select/sql/aggregation.go

    	for _, ex := range e.Elements {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *AndCondition) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.Condition {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/evaluate.go

    		}
    		b, ok := res.ToBool()
    		if !ok {
    			return nil, errExpectedBool
    		}
    		if b {
    			return FromBool(true), nil
    		}
    		result = result || b
    	}
    	return FromBool(result), nil
    }
    
    func (e *AndCondition) evalNode(r Record, tableAlias string) (*Value, error) {
    	if len(e.Condition) == 1 {
    		// In this case, result does not have to be boolean
    		return e.Condition[0].evalNode(r, tableAlias)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top