Class FindAll

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class FindAll
    extends SpecificRecordBase implements SpecificRecord
                        

    Find all entities for the given class name. See also request

    • Constructor Detail

      • FindAll

        FindAll()
        Default constructor.
      • FindAll

        FindAll(String entityClassName, Integer offset, Integer limit)
        All-args constructor.
        Parameters:
        entityClassName - the fully qualified entity class name
        offset - The index of the first result in the query output that should be returned.
        limit - Limit number of rows in the output query results, after applying the offset.
    • Method Detail

      • setEntityClassName

         void setEntityClassName(String value)

        Sets the value of the 'entityClassName' field. the fully qualified entity class name

        Parameters:
        value - the value to set.
      • getOffset

         int getOffset()

        Gets the value of the 'offset' field.

      • setOffset

         void 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 to set.
      • getLimit

         int getLimit()

        Gets the value of the 'limit' field.

      • setLimit

         void 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 to set.
      • getEncoder

         static BinaryMessageEncoder<FindAll> getEncoder()

        Return the BinaryMessageEncoder instance used by this class.

      • getDecoder

         static BinaryMessageDecoder<FindAll> getDecoder()

        Return the BinaryMessageDecoder instance used by this class.

      • createDecoder

         static BinaryMessageDecoder<FindAll> createDecoder(SchemaStore resolver)

        Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore.

        Parameters:
        resolver - a SchemaStore used to find schemas by fingerprint
      • fromByteBuffer

         static FindAll fromByteBuffer(ByteBuffer b)

        Deserializes a FindAll from a ByteBuffer.

        Parameters:
        b - a byte buffer holding serialized data for an instance of this class
      • newBuilder

         static FindAll.Builder newBuilder(FindAll other)

        Creates a new FindAll RecordBuilder by copying an existing FindAll instance.

        Parameters:
        other - The existing instance to copy.