summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/qe
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon/carbonado/qe')
-rw-r--r--src/main/java/com/amazon/carbonado/qe/OrderingScore.java6
-rw-r--r--src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java
index 0730b4f..82d44a7 100644
--- a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java
+++ b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java
@@ -146,7 +146,7 @@ public class OrderingScore<S extends Storable> {
for (int i=0; i<indexProperties.length; i++) {
ChainedProperty<S> indexChained = indexProperties[i].getChainedProperty();
if (!identityPropSet.contains(indexChained)) {
- // Missed a property, so ordering is still relevent.
+ // Missed a property, so ordering is still relevant.
break uniquelyCheck;
}
}
@@ -391,7 +391,7 @@ public class OrderingScore<S extends Storable> {
* Returns potential ordering properties that the evaluated index can
* handle, if arranged to immediately follow the handled orderings. The
* direction of any free orderings may be UNSPECIFIED, which indicates that
- * specific order is not relevent.
+ * specific order is not relevant.
*
* @return free orderings, never null
*/
@@ -402,7 +402,7 @@ public class OrderingScore<S extends Storable> {
/**
* Returns unused ordering properties of the evaluated index because they
* were filtered out. The direction of each unused ordering is UNSPECIFIED
- * because specific order is not relevent.
+ * because specific order is not relevant.
*
* @return unused orderings, never null
*/
diff --git a/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java b/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java
index 2fd492e..81779b0 100644
--- a/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java
+++ b/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java
@@ -102,7 +102,7 @@ public class UnionQueryAnalyzer<S extends Storable> {
}
private boolean isTotalOrdering(List<OrderedProperty<S>> orderings) {
- // First strip out directions, since they are not relevent here.
+ // First strip out directions, since they are not relevant here.
List<ChainedProperty<S>> properties = new ArrayList<ChainedProperty<S>>(orderings.size());
for (OrderedProperty<S> ordering : orderings) {
properties.add(ordering.getChainedProperty());
@@ -131,7 +131,7 @@ public class UnionQueryAnalyzer<S extends Storable> {
return false;
}
- // Strip out directions, since they are not relevent here.
+ // Strip out directions, since they are not relevant here.
Set<ChainedProperty<S>> keyProps = new HashSet<ChainedProperty<S>>(orderedKeyProps.size());
for (OrderedProperty<S> ordering : orderedKeyProps) {
keyProps.add(ordering.getChainedProperty());