public class FeedOptions
extends java.lang.Object
implements java.io.Serializable
Represents the options to extract the change feeds from server.
Constructor and Description |
---|
FeedOptions() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getFromSequence()
The from sequence number.
|
int |
getLimit()
The limit up to which the change feed needs to be
fetched from the offset.
|
int |
getOffset()
The offset from which the change feed needs to
be fetched from server.
|
int |
hashCode() |
boolean |
isPaginated()
The boolean value indicating whether pagination should
required or not.
|
void |
setFromSequence(java.lang.Long fromSequence)
The from sequence number.
|
void |
setLimit(int limit)
The limit up to which the change feed needs to be
fetched from the offset.
|
void |
setOffset(int offset)
The offset from which the change feed needs to
be fetched from server.
|
void |
setPaginated(boolean paginated)
The boolean value indicating whether pagination should
required or not.
|
java.lang.String |
toString() |
public java.lang.Long getFromSequence()
The from sequence number. It is generally the last sync timestamp stored in local.
public int getOffset()
The offset from which the change feed needs to be fetched from server.
public int getLimit()
The limit up to which the change feed needs to be fetched from the offset.
public boolean isPaginated()
The boolean value indicating whether pagination should required or not.
true
if pagination is required; false
otherwise.public void setFromSequence(java.lang.Long fromSequence)
The from sequence number. It is generally the last sync timestamp stored in local.
fromSequence
- the from sequence numberpublic void setOffset(int offset)
The offset from which the change feed needs to be fetched from server.
offset
- the feed fetch offsetpublic void setLimit(int limit)
The limit up to which the change feed needs to be fetched from the offset.
limit
- the feed fetch limitpublic void setPaginated(boolean paginated)
The boolean value indicating whether pagination should required or not.
paginated
- the boolean valuepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object