-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump Eclipse platform to 2023-09, Java 17, Calcite 1.36.0
- Loading branch information
Showing
12 changed files
with
118 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.compliance=17 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.8 | ||
org.eclipse.jdt.core.compiler.source=17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
MatCalcitePlugin/src/com/github/vlsi/mat/calcite/rules/DefaultRuleConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
package com.github.vlsi.mat.calcite.rules; | ||
|
||
import org.apache.calcite.plan.RelOptRule; | ||
import org.apache.calcite.plan.RelRule; | ||
import org.apache.calcite.rel.core.RelFactories; | ||
import org.apache.calcite.tools.RelBuilderFactory; | ||
|
||
public class DefaultRuleConfig implements RelRule.Config { | ||
public static final RelRule.Config EMPTY = | ||
new DefaultRuleConfig(RelFactories.LOGICAL_BUILDER, null, null); | ||
|
||
protected final RelBuilderFactory relBuilderFactory; | ||
protected final String description; | ||
protected final RelRule.OperandTransform operandTransform; | ||
|
||
protected DefaultRuleConfig(RelBuilderFactory relBuilderFactory, String description, RelRule.OperandTransform operandTransform) { | ||
this.relBuilderFactory = relBuilderFactory; | ||
this.description = description; | ||
this.operandTransform = operandTransform; | ||
} | ||
|
||
@Override | ||
public RelRule.Config withRelBuilderFactory(RelBuilderFactory relBuilderFactory) { | ||
return new DefaultRuleConfig(relBuilderFactory, description, operandTransform); | ||
} | ||
|
||
@Override | ||
public String description() { | ||
return description; | ||
} | ||
|
||
@Override | ||
public RelBuilderFactory relBuilderFactory() { | ||
return relBuilderFactory; | ||
} | ||
|
||
@Override | ||
public RelRule.Config withDescription(@org.checkerframework.checker.nullness.qual.Nullable String description) { | ||
return new DefaultRuleConfig(relBuilderFactory, description, operandTransform); | ||
} | ||
|
||
@Override | ||
public RelRule.OperandTransform operandSupplier() { | ||
return operandTransform; | ||
} | ||
|
||
@Override | ||
public RelRule.Config withOperandSupplier(RelRule.OperandTransform operandTransform) { | ||
return new DefaultRuleConfig(relBuilderFactory, description, operandTransform); | ||
} | ||
|
||
@Override | ||
public RelOptRule toRule() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters