Package com.datastax.astra.client.model
Class Projection
java.lang.Object
com.datastax.astra.client.model.Projection
Encode the presence of a field in the result.
-
Constructor Summary
ConstructorDescriptionProjection
(String field, boolean present) Default constructor.Projection
(String field, Boolean present, Integer sliceStart, Integer sliceEnd) Default constructor. -
Method Summary
-
Constructor Details
-
Projection
Default constructor.- Parameters:
field
- field valuepresent
- tell if field is present
-
Projection
Default constructor.- Parameters:
field
- field valuepresent
- tell if field is presentsliceStart
- start of slice (mutually exclusive with 'present')sliceEnd
- end of slice (mutually exclusive with 'present'), optional
-