From 1925567b3d81c0d9d772c45a5ee03ba75c34929b Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 4 Sep 2006 02:47:07 +0000 Subject: Removed extra constructors. --- .../com/amazon/carbonado/qe/CompositeScore.java | 38 ++-------------------- .../amazon/carbonado/qe/IndexedQueryAnalyzer.java | 9 ----- .../com/amazon/carbonado/qe/OrderingScore.java | 38 ++-------------------- .../amazon/carbonado/qe/UnionQueryAnalyzer.java | 7 ---- 4 files changed, 4 insertions(+), 88 deletions(-) (limited to 'src/main') diff --git a/src/main/java/com/amazon/carbonado/qe/CompositeScore.java b/src/main/java/com/amazon/carbonado/qe/CompositeScore.java index be4ceb7..2a85a32 100644 --- a/src/main/java/com/amazon/carbonado/qe/CompositeScore.java +++ b/src/main/java/com/amazon/carbonado/qe/CompositeScore.java @@ -45,22 +45,7 @@ public class CompositeScore { * * @param index index to evaluate * @param filter optional filter which cannot contain any logical 'or' operations. - * @throws IllegalArgumentException if index is null or filter is not supported - */ - public static CompositeScore evaluate - (StorableIndex index, - Filter filter) - { - return evaluate(index, filter, null); - } - - /** - * Evaluates the given index for its filtering and ordering capabilities - * against the given filter and order-by properties. - * - * @param index index to evaluate - * @param filter optional filter which cannot contain any logical 'or' operations. - * @param orderings properties which define desired ordering + * @param orderings optional properties which define desired ordering * @throws IllegalArgumentException if index is null or filter is not supported */ public static CompositeScore evaluate @@ -87,26 +72,7 @@ public class CompositeScore { * @param unique true if index is unique * @param clustered true if index is clustered * @param filter optional filter which cannot contain any logical 'or' operations. - * @throws IllegalArgumentException if index is null or filter is not supported - */ - public static CompositeScore evaluate - (OrderedProperty[] indexProperties, - boolean unique, - boolean clustered, - Filter filter) - { - return evaluate(indexProperties, unique, clustered, filter, null); - } - - /** - * Evaluates the given index properties for its filtering and ordering - * capabilities against the given filter and order-by properties. - * - * @param indexProperties index properties to evaluate - * @param unique true if index is unique - * @param clustered true if index is clustered - * @param filter optional filter which cannot contain any logical 'or' operations. - * @param orderings properties which define desired ordering + * @param orderings optional properties which define desired ordering * @throws IllegalArgumentException if index is null or filter is not supported */ public static CompositeScore evaluate diff --git a/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java b/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java index 92c21dd..23ec0d1 100644 --- a/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java +++ b/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java @@ -73,15 +73,6 @@ public class IndexedQueryAnalyzer { return mType; } - /** - * @param filter optional filter which which must be {@link Filter#isBound - * bound} and cannot contain any logical 'or' operations. - * @throws IllegalArgumentException if filter is not supported - */ - public Result analyze(Filter filter) { - return analyze(filter, null); - } - /** * @param filter optional filter which which must be {@link Filter#isBound * bound} and cannot contain any logical 'or' operations. diff --git a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java index 67edcdd..843e22d 100644 --- a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java +++ b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java @@ -68,22 +68,7 @@ public class OrderingScore { * * @param index index to evaluate * @param filter optional filter which cannot contain any logical 'or' operations. - * @throws IllegalArgumentException if index is null or filter is not supported - */ - public static OrderingScore evaluate - (StorableIndex index, - Filter filter) - { - return evaluate(index, filter, null); - } - - /** - * Evaluates the given index for its ordering capabilities against the - * given filter and order-by properties. - * - * @param index index to evaluate - * @param filter optional filter which cannot contain any logical 'or' operations. - * @param orderings properties which define desired ordering + * @param orderings optional properties which define desired ordering * @throws IllegalArgumentException if index is null or filter is not supported */ public static OrderingScore evaluate @@ -110,26 +95,7 @@ public class OrderingScore { * @param unique true if index is unique * @param clustered true if index is clustered * @param filter optional filter which cannot contain any logical 'or' operations. - * @throws IllegalArgumentException if index is null or filter is not supported - */ - public static OrderingScore evaluate - (OrderedProperty[] indexProperties, - boolean unique, - boolean clustered, - Filter filter) - { - return evaluate(indexProperties, unique, clustered, filter, null); - } - - /** - * Evaluates the given index properties for its ordering capabilities - * against the given filter and order-by properties. - * - * @param indexProperties index properties to evaluate - * @param unique true if index is unique - * @param clustered true if index is clustered - * @param filter optional filter which cannot contain any logical 'or' operations. - * @param orderings properties which define desired ordering + * @param orderings optional properties which define desired ordering * @throws IllegalArgumentException if index is null or filter is not supported */ public static OrderingScore evaluate diff --git a/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java b/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java index b4e45fa..b07934c 100644 --- a/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java +++ b/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java @@ -57,13 +57,6 @@ public class UnionQueryAnalyzer { mIndexAnalyzer = new IndexedQueryAnalyzer(type, indexProvider); } - /** - * @param filter optional filter which must be {@link Filter#isBound bound} - */ - public Result analyze(Filter filter) { - return analyze(filter, null); - } - /** * @param filter optional filter which must be {@link Filter#isBound bound} * @param orderings optional properties which define desired ordering -- cgit v1.2.3