public class AnchorQueryOptions
extends java.lang.Object
Constructor and Description |
---|
AnchorQueryOptions()
Creates an AnchorQueryOptions instance.
|
AnchorQueryOptions(long size,
java.lang.String fromTimestamp,
java.lang.String toTimestamp,
java.lang.String cursor)
Creates an AnchorQueryOptions instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCursor()
Getter function for cursor
|
java.lang.Long |
getFromTimestamp()
Getter function for fromDate.
|
java.lang.Long |
getSize()
Getter function for size.
|
java.lang.Long |
getToTimestamp()
Getter function for toDate
|
void |
setCursor(java.lang.String cursor)
Setter function for cursor
|
void |
setFromDate(java.lang.Long fromDate)
Setter function for fromDate
|
void |
setFromTimestamp(java.lang.String fromTimestamp)
Setter function for fromDate
|
void |
setSize(java.lang.Long size)
Setter function for size.
|
void |
setToDate(java.lang.Long toDate)
Setter function for toDate
|
void |
setToTimestamp(java.lang.String toTimestamp)
Setter function for toDate
|
public AnchorQueryOptions()
public AnchorQueryOptions(long size, java.lang.String fromTimestamp, java.lang.String toTimestamp, java.lang.String cursor)
size
- Maximum number of data to query.fromTimestamp
- The starting date of the data to be queried.toTimestamp
- The ending date of the data to be queried.cursor
- Information of the last retrieved cursor.public java.lang.Long getSize()
public void setSize(java.lang.Long size)
size
- Maximum number of data to query.public java.lang.Long getFromTimestamp()
public void setFromTimestamp(java.lang.String fromTimestamp)
fromTimestamp
- The starting date of the data to be queried.public void setFromDate(java.lang.Long fromDate)
fromDate
- The starting date of the data to be queried.public java.lang.Long getToTimestamp()
public void setToTimestamp(java.lang.String toTimestamp)
toTimestamp
- public void setToDate(java.lang.Long toDate)
toDate
- public java.lang.String getCursor()
public void setCursor(java.lang.String cursor)
cursor
- Information of the last retrieved cursor.