CosmosPageImpl<T> Class
- java.
lang. Object - org.
springframework. data. domain. Chunk - org.
springframework. data. domain. PageImpl - com.
azure. spring. data. cosmos. core. query. CosmosPageImpl<T>
- com.
- org.
- org.
Type Parameters
- T
the type of which the CosmosPageImpl consists.
public class CosmosPageImpl<T>
extends org.springframework.data.domain.PageImpl<T>
CosmosPageImpl implementation.
Constructor Summary
| Constructor | Description |
|---|---|
| CosmosPageImpl(List<T> content, Pageable pageable, long total) |
Constructor of |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| boolean | equals(Object o) |
| long | getTotalElements() |
| int | getTotalPages() |
| int | hashCode() |
| boolean | hasNext() |
| boolean | isLast() |
Methods inherited from java.lang.Object
Methods inherited from org.springframework.data.domain.Chunk
Methods inherited from org.springframework.data.domain.PageImpl
Constructor Details
CosmosPageImpl
public CosmosPageImpl(List<T> content, Pageable pageable, long total)
Constructor of CosmosPageImpl.
Parameters:
Method Details
equals
public boolean equals(Object o)
Overrides:
CosmosPageImpl<T>.equals(Object o)Parameters:
getTotalElements
public long getTotalElements()
Overrides:
CosmosPageImpl<T>.getTotalElements()getTotalPages
public int getTotalPages()
Overrides:
CosmosPageImpl<T>.getTotalPages()hashCode
public int hashCode()
Overrides:
CosmosPageImpl<T>.hashCode()hasNext
public boolean hasNext()
Overrides:
CosmosPageImpl<T>.hasNext()isLast
public boolean isLast()
Overrides:
CosmosPageImpl<T>.isLast()