CosmosSliceImpl<T> Class
- java.
lang. Object - org.
springframework. data. domain. Chunk - org.
springframework. data. domain. SliceImpl - com.
azure. spring. data. cosmos. core. query. CosmosSliceImpl<T>
- com.
- org.
- org.
Type Parameters
- T
the type of which the CosmosSliceImpl consists.
public class CosmosSliceImpl
extends org.springframework.data.domain.SliceImpl<T>
CosmosSliceImpl
implementation.
Constructor Summary
Constructor | Description |
---|---|
CosmosSliceImpl(List<T> content, Pageable pageable, boolean hasNext) |
Constructor of |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object o) |
int | hashCode() |
Methods inherited from java.lang.Object
Methods inherited from org.springframework.data.domain.Chunk
org.springframework.data.domain.Chunk.<U>getConvertedContent(java.util.function.Function<
org.springframework.data.domain.Chunk.getContent
org.springframework.data.domain.Chunk.getNumber
org.springframework.data.domain.Chunk.getNumberOfElements
org.springframework.data.domain.Chunk.getPageable
org.springframework.data.domain.Chunk.getSize
org.springframework.data.domain.Chunk.getSort
org.springframework.data.domain.Chunk.hasContent
org.springframework.data.domain.Chunk.hasPrevious
org.springframework.data.domain.Chunk.isFirst
org.springframework.data.domain.Chunk.isLast
org.springframework.data.domain.Chunk.iterator
org.springframework.data.domain.Chunk.nextPageable
org.springframework.data.domain.Chunk.previousPageable
Methods inherited from org.springframework.data.domain.SliceImpl
org.springframework.data.domain.SliceImpl.<U>map(java.util.function.Function<
org.springframework.data.domain.SliceImpl.equals
org.springframework.data.domain.SliceImpl.hasNext
org.springframework.data.domain.SliceImpl.hashCode
org.springframework.data.domain.SliceImpl.toString
Constructor Details
CosmosSliceImpl
public CosmosSliceImpl(List
Constructor of CosmosSliceImpl
.
Parameters:
content
- the content of this page, must not be null.
pageable
- the paging information, must not be null.
hasNext
- whether the query has any more results to fetch
Method Details
equals
public boolean equals(Object o)
Overrides:
CosmosSliceImpl<T>.equals(Object o)Parameters:
o
hashCode
public int hashCode()
Overrides:
CosmosSliceImpl<T>.hashCode()Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java