@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-08-17")
public class Pageable
extends java.lang.Object
implements org.apache.thrift.TBase<Pageable,Pageable._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Pageable>
| Modifier and Type | Class and Description |
|---|---|
static class |
Pageable._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<Pageable._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Pageable other) |
Pageable |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(Pageable that) |
Pageable._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(Pageable._Fields field) |
int |
getPage() |
int |
getSize() |
int |
getStart() |
int |
hashCode() |
boolean |
isSet(Pageable._Fields field) |
boolean |
isSetPage() |
boolean |
isSetSize() |
boolean |
isSetStart() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Pageable._Fields field,
java.lang.Object value) |
Pageable |
setPage(int page) |
void |
setPageIsSet(boolean value) |
Pageable |
setSize(int size) |
void |
setSizeIsSet(boolean value) |
Pageable |
setStart(int start) |
void |
setStartIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetPage() |
void |
unsetSize() |
void |
unsetStart() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<Pageable._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Pageable()
public Pageable(Pageable other)
public Pageable deepCopy()
deepCopy in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>public int getPage()
public Pageable setPage(int page)
public void unsetPage()
public boolean isSetPage()
public void setPageIsSet(boolean value)
public int getSize()
public Pageable setSize(int size)
public void unsetSize()
public boolean isSetSize()
public void setSizeIsSet(boolean value)
public int getStart()
public Pageable setStart(int start)
public void unsetStart()
public boolean isSetStart()
public void setStartIsSet(boolean value)
public void setFieldValue(Pageable._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>public java.lang.Object getFieldValue(Pageable._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>public boolean isSet(Pageable._Fields field)
isSet in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>field - fieldpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Pageable that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Pageable other)
compareTo in interface java.lang.Comparable<Pageable>public Pageable._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<Pageable,Pageable._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2023. All Rights Reserved.