public enum PaginationStrategy extends Enum<PaginationStrategy>
Enum Constant and Description |
---|
ITEM_OFFSET
The resource is paginated by identifying the offset of the first item to
include in the page.
|
NONE
The resource is not paginated by ORDS.
|
NOT_PAGINATED
The resource is explicitly not paginated.
|
PAGE_OFFSET
The resource is paginated by a page offset.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
paginated(PaginationStrategy pagination)
Test a Pagination Strategy requires pagination
|
static PaginationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaginationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaginationStrategy NONE
public static final PaginationStrategy ITEM_OFFSET
public static final PaginationStrategy PAGE_OFFSET
public static final PaginationStrategy NOT_PAGINATED
public static PaginationStrategy[] values()
for (PaginationStrategy c : PaginationStrategy.values()) System.out.println(c);
public static PaginationStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean paginated(PaginationStrategy pagination)
pagination
- Oracle REST Data Services Plugin API version: 3.0.0.65.09.35 Copyright © 2015 Oracle Corp. All Rights Reserved.