Class EntityResponse.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class EntityResponse.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for EntityResponse instances.

    • Constructor Detail

    • Method Detail

      • getResults

         List<ByteBuffer> getResults()

        Gets the value of the 'results' field. Result of request, as a list of AMQP-formatted user defined objects, which may be empty or have 1 element for certain persistence operations

      • setResults

         EntityResponse.Builder setResults(List<ByteBuffer> value)

        Sets the value of the 'results' field. Result of request, as a list of AMQP-formatted user defined objects, which may be empty or have 1 element for certain persistence operations

        Parameters:
        value - The value of 'results'.
      • getMetadata

         KeyValuePairList getMetadata()

        Gets the value of the 'metadata' field. Metadata returned from the execution of the persistence operation

      • getMetadataBuilder

         KeyValuePairList.Builder getMetadataBuilder()

        Gets the Builder instance for the 'metadata' field and creates one if it doesn't exist yet. Metadata returned from the execution of the persistence operation

      • getResumePoint

         ByteBuffer getResumePoint()

        Gets the value of the 'resumePoint' field. Used by queries that support stable paging to return opaque data that indicates where the next page should resume from

      • setResumePoint

         EntityResponse.Builder setResumePoint(ByteBuffer value)

        Sets the value of the 'resumePoint' field. Used by queries that support stable paging to return opaque data that indicates where the next page should resume from

        Parameters:
        value - The value of 'resumePoint'.
      • hasResults

         boolean hasResults()

        Checks whether the 'results' field has been set. Result of request, as a list of AMQP-formatted user defined objects, which may be empty or have 1 element for certain persistence operations

      • clearResults

         EntityResponse.Builder clearResults()

        Clears the value of the 'results' field. Result of request, as a list of AMQP-formatted user defined objects, which may be empty or have 1 element for certain persistence operations

      • hasMetadata

         boolean hasMetadata()

        Checks whether the 'metadata' field has been set. Metadata returned from the execution of the persistence operation

      • hasMetadataBuilder

         boolean hasMetadataBuilder()

        Checks whether the 'metadata' field has an active Builder instance Metadata returned from the execution of the persistence operation

      • hasResumePoint

         boolean hasResumePoint()

        Checks whether the 'resumePoint' field has been set. Used by queries that support stable paging to return opaque data that indicates where the next page should resume from

      • clearResumePoint

         EntityResponse.Builder clearResumePoint()

        Clears the value of the 'resumePoint' field. Used by queries that support stable paging to return opaque data that indicates where the next page should resume from