Skip to content

Commit 463b849

Browse files
committed
fix: rename method name
1 parent e1f9d62 commit 463b849

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

glint/src/main/java/co/clflushopt/glint/query/compiler/QueryCompiler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public long execute() {
9191
*/
9292
public Object compile(LogicalPlan logicalPlan) throws Exception {
9393
// Generate source code for the entire logical plan
94-
String sourceCode = generateSourceCode(logicalPlan);
94+
String sourceCode = compileLogicalPlan(logicalPlan);
9595

9696
// Create a new simple compiler
9797
ISimpleCompiler compiler = compilerFactory.newSimpleCompiler();
@@ -121,7 +121,7 @@ public Object compile(LogicalPlan logicalPlan) throws Exception {
121121
* @param logicalPlan The logical plan to generate code for
122122
* @return Generated Java source code as a string
123123
*/
124-
private String generateSourceCode(LogicalPlan logicalPlan) {
124+
private String compileLogicalPlan(LogicalPlan logicalPlan) {
125125
return String.format("""
126126
package co.clflushopt.glint.generated;
127127
@@ -180,7 +180,7 @@ private long executeScan(Scan scan) {
180180
181181
return totalRecords;
182182
}
183-
}""",
183+
}""",
184184
generatePlanArgument(plan));
185185

186186
}
@@ -233,7 +233,7 @@ public String toString() {
233233
return "%s";
234234
}
235235
}
236-
""",
236+
""",
237237
columnExpr.getName(), // Column name for comments
238238
columnExpr.getName(), // Method to get column value
239239
columnExpr.getName(), // Field name

0 commit comments

Comments
 (0)