Class Projection

java.lang.Object
com.datastax.astra.client.model.Projection

public class Projection extends Object
Encode the presence of a field in the result.
  • Constructor Details

    • Projection

      public Projection(String field, boolean present)
      Default constructor.
      Parameters:
      field - field value
      present - tell if field is present
    • Projection

      public Projection(String field, Boolean present, Integer sliceStart, Integer sliceEnd)
      Default constructor.
      Parameters:
      field - field value
      present - tell if field is present
      sliceStart - start of slice (mutually exclusive with 'present')
      sliceEnd - end of slice (mutually exclusive with 'present'), optional