File tree 10 files changed +12
-12
lines changed
main/java/org/springframework/data/mongodb/core
test/java/org/springframework/data/mongodb/core
10 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 28
28
import org .springframework .data .mapping .MappingException ;
29
29
import org .springframework .data .mapping .PersistentEntity ;
30
30
import org .springframework .data .mapping .PersistentPropertyAccessor ;
31
- import org .springframework .data .mapping .context .EntityProjection ;
32
- import org .springframework .data .mapping .context .EntityProjectionIntrospector ;
33
31
import org .springframework .data .mapping .context .MappingContext ;
34
32
import org .springframework .data .mapping .model .ConvertingPropertyAccessor ;
35
33
import org .springframework .data .mongodb .core .CollectionOptions .TimeSeriesOptions ;
43
41
import org .springframework .data .mongodb .core .query .Criteria ;
44
42
import org .springframework .data .mongodb .core .query .Query ;
45
43
import org .springframework .data .mongodb .core .timeseries .Granularity ;
44
+ import org .springframework .data .projection .EntityProjection ;
45
+ import org .springframework .data .projection .EntityProjectionIntrospector ;
46
46
import org .springframework .data .projection .ProjectionFactory ;
47
47
import org .springframework .lang .Nullable ;
48
48
import org .springframework .util .Assert ;
Original file line number Diff line number Diff line change 49
49
import org .springframework .data .geo .Metric ;
50
50
import org .springframework .data .mapping .MappingException ;
51
51
import org .springframework .data .mapping .callback .EntityCallbacks ;
52
- import org .springframework .data .mapping .context .EntityProjection ;
53
52
import org .springframework .data .mapping .context .MappingContext ;
54
53
import org .springframework .data .mongodb .MongoDatabaseFactory ;
55
54
import org .springframework .data .mongodb .MongoDatabaseUtils ;
103
102
import org .springframework .data .mongodb .core .timeseries .Granularity ;
104
103
import org .springframework .data .mongodb .core .validation .Validator ;
105
104
import org .springframework .data .mongodb .util .BsonUtils ;
105
+ import org .springframework .data .projection .EntityProjection ;
106
106
import org .springframework .data .util .CloseableIterator ;
107
107
import org .springframework .data .util .Optionals ;
108
108
import org .springframework .lang .Nullable ;
Original file line number Diff line number Diff line change 17
17
18
18
import org .bson .Document ;
19
19
20
- import org .springframework .data .mapping .context .EntityProjection ;
21
20
import org .springframework .data .mapping .context .MappingContext ;
22
21
import org .springframework .data .mongodb .core .mapping .MongoPersistentEntity ;
23
22
import org .springframework .data .mongodb .core .mapping .MongoPersistentProperty ;
24
23
import org .springframework .data .mongodb .core .mapping .PersistentPropertyTranslator ;
24
+ import org .springframework .data .projection .EntityProjection ;
25
25
import org .springframework .data .util .Predicates ;
26
26
27
27
/**
Original file line number Diff line number Diff line change 31
31
32
32
import org .springframework .data .mapping .PropertyPath ;
33
33
import org .springframework .data .mapping .PropertyReferenceException ;
34
- import org .springframework .data .mapping .context .EntityProjection ;
35
34
import org .springframework .data .mapping .context .MappingContext ;
36
35
import org .springframework .data .mongodb .CodecRegistryProvider ;
37
36
import org .springframework .data .mongodb .MongoExpression ;
56
55
import org .springframework .data .mongodb .core .query .UpdateDefinition ;
57
56
import org .springframework .data .mongodb .core .query .UpdateDefinition .ArrayFilter ;
58
57
import org .springframework .data .mongodb .util .BsonUtils ;
58
+ import org .springframework .data .projection .EntityProjection ;
59
59
import org .springframework .data .util .Lazy ;
60
60
import org .springframework .lang .Nullable ;
61
61
import org .springframework .util .ClassUtils ;
Original file line number Diff line number Diff line change 17
17
18
18
import static org .springframework .data .mongodb .core .query .SerializationUtils .*;
19
19
20
+ import org .springframework .data .projection .EntityProjection ;
20
21
import reactor .core .publisher .Flux ;
21
22
import reactor .core .publisher .Mono ;
22
23
import reactor .util .function .Tuple2 ;
63
64
import org .springframework .data .mapping .MappingException ;
64
65
import org .springframework .data .mapping .PersistentEntity ;
65
66
import org .springframework .data .mapping .callback .ReactiveEntityCallbacks ;
66
- import org .springframework .data .mapping .context .EntityProjection ;
67
67
import org .springframework .data .mapping .context .MappingContext ;
68
68
import org .springframework .data .mapping .context .MappingContextEvent ;
69
69
import org .springframework .data .mongodb .MongoDatabaseFactory ;
Original file line number Diff line number Diff line change 60
60
import org .springframework .data .mapping .PreferredConstructor ;
61
61
import org .springframework .data .mapping .PreferredConstructor .Parameter ;
62
62
import org .springframework .data .mapping .callback .EntityCallbacks ;
63
- import org .springframework .data .mapping .context .EntityProjection ;
64
63
import org .springframework .data .mapping .context .MappingContext ;
65
64
import org .springframework .data .mapping .model .ConvertingPropertyAccessor ;
66
65
import org .springframework .data .mapping .model .DefaultSpELExpressionEvaluator ;
85
84
import org .springframework .data .mongodb .core .mapping .event .AfterLoadEvent ;
86
85
import org .springframework .data .mongodb .core .mapping .event .MongoMappingEvent ;
87
86
import org .springframework .data .mongodb .util .BsonUtils ;
87
+ import org .springframework .data .projection .EntityProjection ;
88
88
import org .springframework .data .projection .ProjectionFactory ;
89
89
import org .springframework .data .projection .SpelAwareProxyProjectionFactory ;
90
90
import org .springframework .data .util .ClassTypeInformation ;
Original file line number Diff line number Diff line change 25
25
import org .springframework .data .convert .EntityConverter ;
26
26
import org .springframework .data .convert .EntityReader ;
27
27
import org .springframework .data .convert .TypeMapper ;
28
- import org .springframework .data .mapping .context .EntityProjection ;
29
28
import org .springframework .data .mongodb .core .mapping .MongoPersistentEntity ;
30
29
import org .springframework .data .mongodb .core .mapping .MongoPersistentProperty ;
31
30
import org .springframework .data .mongodb .util .BsonUtils ;
31
+ import org .springframework .data .projection .EntityProjection ;
32
32
import org .springframework .data .projection .ProjectionFactory ;
33
33
import org .springframework .data .util .TypeInformation ;
34
34
import org .springframework .lang .Nullable ;
Original file line number Diff line number Diff line change 32
32
import org .springframework .data .convert .CustomConversions ;
33
33
import org .springframework .data .geo .Point ;
34
34
import org .springframework .data .mapping .MappingException ;
35
- import org .springframework .data .mapping .context .EntityProjection ;
36
35
import org .springframework .data .mapping .context .MappingContext ;
37
36
import org .springframework .data .mongodb .core .convert .AbstractMongoConverter ;
38
37
import org .springframework .data .mongodb .core .convert .MongoConverter ;
39
38
import org .springframework .data .mongodb .core .convert .MongoTypeMapper ;
40
39
import org .springframework .data .mongodb .core .mapping .MongoPersistentEntity ;
41
40
import org .springframework .data .mongodb .core .mapping .MongoPersistentProperty ;
42
41
import org .springframework .data .mongodb .core .query .NearQuery ;
42
+ import org .springframework .data .projection .EntityProjection ;
43
43
import org .springframework .data .projection .ProjectionFactory ;
44
44
import org .springframework .data .util .TypeInformation ;
45
45
Original file line number Diff line number Diff line change 23
23
import org .springframework .core .convert .support .DefaultConversionService ;
24
24
import org .springframework .core .convert .support .GenericConversionService ;
25
25
import org .springframework .data .convert .CustomConversions ;
26
- import org .springframework .data .mapping .context .EntityProjection ;
27
26
import org .springframework .data .mapping .context .MappingContext ;
28
27
import org .springframework .data .mongodb .core .convert .MongoConverters .ObjectIdToStringConverter ;
29
28
import org .springframework .data .mongodb .core .convert .MongoConverters .StringToObjectIdConverter ;
30
29
import org .springframework .data .mongodb .core .mapping .MongoPersistentEntity ;
31
30
import org .springframework .data .mongodb .core .mapping .MongoPersistentProperty ;
31
+ import org .springframework .data .projection .EntityProjection ;
32
32
import org .springframework .data .projection .ProjectionFactory ;
33
33
import org .springframework .data .util .TypeInformation ;
34
34
Original file line number Diff line number Diff line change 67
67
import org .springframework .data .geo .Shape ;
68
68
import org .springframework .data .mapping .MappingException ;
69
69
import org .springframework .data .mapping .callback .EntityCallbacks ;
70
- import org .springframework .data .mapping .context .EntityProjection ;
71
- import org .springframework .data .mapping .context .EntityProjectionIntrospector ;
72
70
import org .springframework .data .mapping .model .MappingInstantiationException ;
73
71
import org .springframework .data .mongodb .core .DocumentTestUtils ;
74
72
import org .springframework .data .mongodb .core .convert .DocumentAccessorUnitTests .NestedType ;
84
82
import org .springframework .data .mongodb .core .mapping .TextScore ;
85
83
import org .springframework .data .mongodb .core .mapping .Unwrapped ;
86
84
import org .springframework .data .mongodb .core .mapping .event .AfterConvertCallback ;
85
+ import org .springframework .data .projection .EntityProjection ;
86
+ import org .springframework .data .projection .EntityProjectionIntrospector ;
87
87
import org .springframework .data .util .ClassTypeInformation ;
88
88
import org .springframework .lang .NonNull ;
89
89
import org .springframework .lang .Nullable ;
You can’t perform that action at this time.
0 commit comments