Interface DocumentPointer<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A custom pointer to a linked document to be used along with
DocumentReference
for storing the linkage value.- Since:
- 3.3
- Author:
- Christoph Strobl
-
Method Summary
-
Method Details
-
getPointer
T getPointer()The actual pointer value. This can be any simple type, like aString
orObjectId
or aDocument
holding more information like the target collection, multiple fields forming the key, etc.- Returns:
- the value stored in MongoDB and used for constructing the
lookup query
.
-