@@ -113,9 +113,6 @@ static Filter fromPb(DatastoreV1.Filter filterPb) {
113113 }
114114 }
115115
116- /**
117- * A class representing a filter composed of a combination of other filters.
118- */
119116 public static final class CompositeFilter extends Filter {
120117
121118 private static final long serialVersionUID = 3610352685739360009L ;
@@ -197,9 +194,6 @@ protected DatastoreV1.Filter toPb() {
197194 }
198195 }
199196
200- /**
201- * A class representing a filter based on a single property or ancestor.
202- */
203197 public static final class PropertyFilter extends Filter {
204198
205199 private static final long serialVersionUID = -4514695915258598597L ;
@@ -266,67 +260,67 @@ public boolean equals(Object obj) {
266260 && Objects .equals (value , other .value );
267261 }
268262
269- public static PropertyFilter lt (String property , Value <?> value ) {
263+ public static PropertyFilter le (String property , Value <?> value ) {
270264 return new PropertyFilter (property , Operator .LESS_THAN , value );
271265 }
272266
273- public static PropertyFilter lt (String property , String value ) {
267+ public static PropertyFilter le (String property , String value ) {
274268 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
275269 }
276270
277- public static PropertyFilter lt (String property , long value ) {
271+ public static PropertyFilter le (String property , long value ) {
278272 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
279273 }
280274
281- public static PropertyFilter lt (String property , double value ) {
275+ public static PropertyFilter le (String property , double value ) {
282276 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
283277 }
284278
285- public static PropertyFilter lt (String property , boolean value ) {
279+ public static PropertyFilter le (String property , boolean value ) {
286280 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
287281 }
288282
289- public static PropertyFilter lt (String property , DateTime value ) {
283+ public static PropertyFilter le (String property , DateTime value ) {
290284 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
291285 }
292286
293- public static PropertyFilter lt (String property , Key value ) {
287+ public static PropertyFilter le (String property , Key value ) {
294288 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
295289 }
296290
297- public static PropertyFilter lt (String property , Blob value ) {
291+ public static PropertyFilter le (String property , Blob value ) {
298292 return new PropertyFilter (property , Operator .LESS_THAN , of (value ));
299293 }
300294
301- public static PropertyFilter le (String property , Value <?> value ) {
295+ public static PropertyFilter lte (String property , Value <?> value ) {
302296 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , value );
303297 }
304298
305- public static PropertyFilter le (String property , String value ) {
299+ public static PropertyFilter lte (String property , String value ) {
306300 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
307301 }
308302
309- public static PropertyFilter le (String property , long value ) {
303+ public static PropertyFilter lte (String property , long value ) {
310304 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
311305 }
312306
313- public static PropertyFilter le (String property , double value ) {
307+ public static PropertyFilter lte (String property , double value ) {
314308 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
315309 }
316310
317- public static PropertyFilter le (String property , boolean value ) {
311+ public static PropertyFilter lte (String property , boolean value ) {
318312 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
319313 }
320314
321- public static PropertyFilter le (String property , DateTime value ) {
315+ public static PropertyFilter lte (String property , DateTime value ) {
322316 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
323317 }
324318
325- public static PropertyFilter le (String property , Key value ) {
319+ public static PropertyFilter lte (String property , Key value ) {
326320 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
327321 }
328322
329- public static PropertyFilter le (String property , Blob value ) {
323+ public static PropertyFilter lte (String property , Blob value ) {
330324 return new PropertyFilter (property , Operator .LESS_THAN_OR_EQUAL , of (value ));
331325 }
332326
@@ -362,35 +356,35 @@ public static PropertyFilter gt(String property, Blob value) {
362356 return new PropertyFilter (property , Operator .GREATER_THAN , of (value ));
363357 }
364358
365- public static PropertyFilter ge (String property , Value <?> value ) {
359+ public static PropertyFilter gte (String property , Value <?> value ) {
366360 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , value );
367361 }
368362
369- public static PropertyFilter ge (String property , String value ) {
363+ public static PropertyFilter gte (String property , String value ) {
370364 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
371365 }
372366
373- public static PropertyFilter ge (String property , long value ) {
367+ public static PropertyFilter gte (String property , long value ) {
374368 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
375369 }
376370
377- public static PropertyFilter ge (String property , double value ) {
371+ public static PropertyFilter gte (String property , double value ) {
378372 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
379373 }
380374
381- public static PropertyFilter ge (String property , boolean value ) {
375+ public static PropertyFilter gte (String property , boolean value ) {
382376 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
383377 }
384378
385- public static PropertyFilter ge (String property , DateTime value ) {
379+ public static PropertyFilter gte (String property , DateTime value ) {
386380 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
387381 }
388382
389- public static PropertyFilter ge (String property , Key value ) {
383+ public static PropertyFilter gte (String property , Key value ) {
390384 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
391385 }
392386
393- public static PropertyFilter ge (String property , Blob value ) {
387+ public static PropertyFilter gte (String property , Blob value ) {
394388 return new PropertyFilter (property , Operator .GREATER_THAN_OR_EQUAL , of (value ));
395389 }
396390
@@ -520,9 +514,6 @@ static OrderBy fromPb(DatastoreV1.PropertyOrder propertyOrderPb) {
520514 }
521515 }
522516
523- /**
524- * A class representing a projection based on a property.
525- */
526517 public static final class Projection implements Serializable {
527518
528519 private static final long serialVersionUID = 3083707957256279470L ;
@@ -674,18 +665,12 @@ public B clearOrderBy() {
674665 return self ();
675666 }
676667
677- /**
678- * Sets the query's order by clause (clearing any previously specified OrderBy settings).
679- */
680668 public B orderBy (OrderBy orderBy , OrderBy ... others ) {
681669 clearOrderBy ();
682670 addOrderBy (orderBy , others );
683671 return self ();
684672 }
685673
686- /**
687- * Adds settings to the existing order by clause.
688- */
689674 public B addOrderBy (OrderBy orderBy , OrderBy ... others ) {
690675 this .orderBy .add (orderBy );
691676 Collections .addAll (this .orderBy , others );
@@ -769,9 +754,6 @@ static final class Builder<V> extends BaseBuilder<V, Builder<V>> {
769754 }
770755 }
771756
772- /**
773- * A StructuredQuery builder for queries that return Entity results.
774- */
775757 public static final class EntityQueryBuilder extends BaseBuilder <Entity , EntityQueryBuilder > {
776758
777759 EntityQueryBuilder () {
@@ -784,9 +766,6 @@ public StructuredQuery<Entity> build() {
784766 }
785767 }
786768
787- /**
788- * A StructuredQuery builder for queries that return Key results.
789- */
790769 public static final class KeyQueryBuilder extends BaseBuilder <Key , KeyQueryBuilder > {
791770
792771 KeyQueryBuilder () {
@@ -808,9 +787,6 @@ public StructuredQuery<Key> build() {
808787 }
809788 }
810789
811- /**
812- * A StructuredQuery builder for projection queries.
813- */
814790 public static final class ProjectionEntityQueryBuilder
815791 extends BaseBuilder <ProjectionEntity , ProjectionEntityQueryBuilder > {
816792
@@ -828,17 +804,11 @@ public ProjectionEntityQueryBuilder clearProjection() {
828804 return super .clearProjection ();
829805 }
830806
831- /**
832- * Sets the query's projection clause (clearing any previously specified Projection settings).
833- */
834807 @ Override
835808 public ProjectionEntityQueryBuilder projection (Projection projection , Projection ... others ) {
836809 return super .projection (projection , others );
837810 }
838811
839- /**
840- * Adds one or more projections to the existing projection clause.
841- */
842812 @ Override
843813 public ProjectionEntityQueryBuilder addProjection (Projection projection , Projection ... others ) {
844814 return super .addProjection (projection , others );
@@ -849,17 +819,11 @@ public ProjectionEntityQueryBuilder clearGroupBy() {
849819 return super .clearGroupBy ();
850820 }
851821
852- /**
853- * Sets the query's group by clause (clearing any previously specified GroupBy settings).
854- */
855822 @ Override
856823 public ProjectionEntityQueryBuilder groupBy (String property , String ... others ) {
857824 return super .groupBy (property , others );
858825 }
859826
860- /**
861- * Adds one or more properties to the existing group by clause.
862- */
863827 @ Override
864828 public ProjectionEntityQueryBuilder addGroupBy (String property , String ... others ) {
865829 return super .addGroupBy (property , others );
0 commit comments