Interface CollectionQuery<CT extends CollectionQuery<?>>

All Superinterfaces:
CommonQuery
All Known Subinterfaces:
PrimitiveCollection<T>, PrimitiveCollectionInvoker<T>, StructuredCollectionComposableInvoker<CT,O>, StructuredCollectionInvoker<CT>, StructuredCollectionQuery<CT>

public interface CollectionQuery<CT extends CollectionQuery<?>> extends CommonQuery
  • Method Summary

    Modifier and Type
    Method
    Description
    skip(int skip)
    Sets the position of the first result to retrieve ($skip).
    top(int top)
    Sets the maximum number of results to retrieve ($top).

    Methods inherited from interface org.apache.olingo.ext.proxy.api.CommonQuery

    clearQueryOptions
  • Method Details

    • top

      CT top(int top) throws IllegalArgumentException
      Sets the maximum number of results to retrieve ($top).
      Parameters:
      top - maximum number of results to retrieve
      Returns:
      the same query instance.
      Throws:
      IllegalArgumentException - if the argument is negative
    • skip

      CT skip(int skip) throws IllegalArgumentException
      Sets the position of the first result to retrieve ($skip).
      Parameters:
      skip - position of the first result, numbered from 0
      Returns:
      the same query instance.
      Throws:
      IllegalArgumentException - if the argument is negative