- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for addCondition (0.07 seconds)
-
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">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
generator = new TestThumbnailGenerator(); // Test adding single condition generator.addCondition("field1", "value1"); // Test adding multiple conditions for same field generator.addCondition("field1", "value2"); // Test adding conditions for different fields generator.addCondition("field2", "pattern.*"); // Verify conditions can be added without errors
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
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 {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
emptyGenerator = new EmptyGenerator(); // Test adding conditions - this should work without container emptyGenerator.addCondition("field1", "pattern1"); emptyGenerator.addCondition("field1", "pattern2"); emptyGenerator.addCondition("field2", "pattern.*"); // We can't test isTarget properly without container, // but we can verify conditions are added
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
internal/s3select/sql/parser.go
Expression *Expression `parser:"@@"` As string `parser:"[ \"AS\" @Ident | \"AS\" @LitString ]"` } // Grammar for Expression // // Expression → AndCondition ("OR" AndCondition)* // AndCondition → Condition ("AND" Condition)* // Condition → "NOT" Condition | ConditionExpression // ConditionExpression → ValueExpression ("=" | "<>" | "<=" | ">=" | "<" | ">") ValueExpressionCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
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 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 5.1K bytes - Click Count (0) -
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 }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 7.9K bytes - Click Count (0) -
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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.6K bytes - Click Count (0) -
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) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0)