File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
glint/src/main/java/co/clflushopt/glint/query/compiler Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public long execute() {
91
91
*/
92
92
public Object compile (LogicalPlan logicalPlan ) throws Exception {
93
93
// Generate source code for the entire logical plan
94
- String sourceCode = generateSourceCode (logicalPlan );
94
+ String sourceCode = compileLogicalPlan (logicalPlan );
95
95
96
96
// Create a new simple compiler
97
97
ISimpleCompiler compiler = compilerFactory .newSimpleCompiler ();
@@ -121,7 +121,7 @@ public Object compile(LogicalPlan logicalPlan) throws Exception {
121
121
* @param logicalPlan The logical plan to generate code for
122
122
* @return Generated Java source code as a string
123
123
*/
124
- private String generateSourceCode (LogicalPlan logicalPlan ) {
124
+ private String compileLogicalPlan (LogicalPlan logicalPlan ) {
125
125
return String .format ("""
126
126
package co.clflushopt.glint.generated;
127
127
@@ -180,7 +180,7 @@ private long executeScan(Scan scan) {
180
180
181
181
return totalRecords;
182
182
}
183
- }""" ,
183
+ }""" ,
184
184
generatePlanArgument (plan ));
185
185
186
186
}
@@ -233,7 +233,7 @@ public String toString() {
233
233
return "%s";
234
234
}
235
235
}
236
- """ ,
236
+ """ ,
237
237
columnExpr .getName (), // Column name for comments
238
238
columnExpr .getName (), // Method to get column value
239
239
columnExpr .getName (), // Field name
You can’t perform that action at this time.
0 commit comments