Class FindWithNamedQuery.Builder

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

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

    RecordBuilder for FindWithNamedQuery instances.

    • Constructor Detail

    • Method Detail

      • getQueryName

         String getQueryName()

        Gets the value of the 'queryName' field. The name of a named query defined somewhere in the CPK.

      • getParameters

         Map<String, ByteBuffer> getParameters()

        Gets the value of the 'parameters' field. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.

      • setParameters

         FindWithNamedQuery.Builder setParameters(Map<String, ByteBuffer> value)

        Sets the value of the 'parameters' field. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.

        Parameters:
        value - The value of 'parameters'.
      • getOffset

         int getOffset()

        Gets the value of the 'offset' field. The index of the first result in the query output that should be returned.

      • setOffset

         FindWithNamedQuery.Builder setOffset(int value)

        Sets the value of the 'offset' field. The index of the first result in the query output that should be returned.

        Parameters:
        value - The value of 'offset'.
      • getLimit

         int getLimit()

        Gets the value of the 'limit' field. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.

      • setLimit

         FindWithNamedQuery.Builder setLimit(int value)

        Sets the value of the 'limit' field. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.

        Parameters:
        value - The value of 'limit'.
      • getResumePoint

         ByteBuffer getResumePoint()

        Gets the value of the 'resumePoint' field. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.

      • setResumePoint

         FindWithNamedQuery.Builder setResumePoint(ByteBuffer value)

        Sets the value of the 'resumePoint' field. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.

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

         boolean hasQueryName()

        Checks whether the 'queryName' field has been set. The name of a named query defined somewhere in the CPK.

      • hasParameters

         boolean hasParameters()

        Checks whether the 'parameters' field has been set. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.

      • clearParameters

         FindWithNamedQuery.Builder clearParameters()

        Clears the value of the 'parameters' field. Parameters for the query, with each value represented as a bytes array payload serialized in AMQP format. Null values must be tested using IS NULL in the query; it is not possible to pass in a null as a parameter value.

      • hasOffset

         boolean hasOffset()

        Checks whether the 'offset' field has been set. The index of the first result in the query output that should be returned.

      • hasLimit

         boolean hasLimit()

        Checks whether the 'limit' field has been set. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.

      • clearLimit

         FindWithNamedQuery.Builder clearLimit()

        Clears the value of the 'limit' field. Limit number of rows in the output query results, after applying the offset. Use the maximum int value if you do not want a lower limit.

      • hasResumePoint

         boolean hasResumePoint()

        Checks whether the 'resumePoint' field has been set. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.

      • clearResumePoint

         FindWithNamedQuery.Builder clearResumePoint()

        Clears the value of the 'resumePoint' field. When a query supports stable paging, contains opaque data telling the query where to resume from when making queries for subsequent pages.