Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
pgajek2 committed Nov 6, 2023
1 parent 9c3533f commit c270540
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions force-app/main/default/classes/SOQL.cls
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ public virtual inherited sharing class SOQL implements Queryable {

public static FilterGroup FilterGroup {
get {
return new QFilterGroup();
return new SoqlFilterGroup();
}
}

public static Filter Filter {
get {
return new QFilter();
return new SoqlFilter();
}
}

public static InnerJoin InnerJoin {
get {
return new QJoinQuery();
return new SoqlJoinQuery();
}
}

Expand Down Expand Up @@ -1077,7 +1077,7 @@ public virtual inherited sharing class SOQL implements Queryable {
Boolean isEmpty();
}

private virtual class QFilterGroup implements FilterGroup {
private virtual class SoqlFilterGroup implements FilterGroup {
private List<FilterClause> queryConditions = new List<FilterClause>();
private String order;
private String connector = 'AND';
Expand Down Expand Up @@ -1155,7 +1155,7 @@ public virtual inherited sharing class SOQL implements Queryable {
}
}

private class MainFilterGroup extends QFilterGroup implements QueryClause {
private class MainFilterGroup extends SoqlFilterGroup implements QueryClause {
public override String toString() {
if (!hasValues()) {
return '';
Expand Down Expand Up @@ -1213,7 +1213,7 @@ public virtual inherited sharing class SOQL implements Queryable {
}
}

private class QFilter implements Filter {
private class SoqlFilter implements Filter {
private String field;
private String comperator;
private Object value;
Expand Down Expand Up @@ -1405,7 +1405,7 @@ public virtual inherited sharing class SOQL implements Queryable {
}
}

private class QJoinQuery implements InnerJoin {
private class SoqlJoinQuery implements InnerJoin {
private QueryBuilder builder;

public InnerJoin of(SObjectType ofObject) {
Expand Down

0 comments on commit c270540

Please sign in to comment.