Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addCondition (0.21 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">
    XML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Oct 11 21:34:52 GMT 2019
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        protected int maxRedirectCount = 10;
    
        protected Boolean available = null;
    
        public void register() {
            ComponentUtil.getThumbnailManager().add(this);
        }
    
        public void addCondition(final String key, final String regex) {
            final String value = conditionMap.get(key);
            if (StringUtil.isBlank(value)) {
                conditionMap.put(key, regex);
            } else {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. 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 {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 05 02:23:51 GMT 2024
    - 5K 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. 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
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K 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
    }
    
    func (e *AndCondition) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Condition {
    		result.combine(ac.analyze(s))
    	}
    	return
    }
    
    func (e *Condition) analyze(s *Select) (result qProp) {
    	if e.Operand != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. 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)
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top